diff --git a/src/utils/baseUrl.js b/src/utils/baseUrl.js index 648fd20ce..11702c286 100644 --- a/src/utils/baseUrl.js +++ b/src/utils/baseUrl.js @@ -2,11 +2,11 @@ export function getBaseUrl() { let BASE_API; if (process.env.NODE_ENV === 'development') { // BASE_API = 'https://joylink.club/jlcloud'; - // BASE_API = 'https://test.joylink.club/jlcloud'; + BASE_API = 'https://test.joylink.club/jlcloud'; // BASE_API = 'http://192.168.8.107:9000'; // 袁琪 // BASE_API = 'http://192.168.3.83:9000'; // 旭强 有线 // BASE_API = 'http://192.168.8.114:9000'; // 旭强 无线 - BASE_API = 'http://192.168.3.120:9000'; // 张赛 + // BASE_API = 'http://192.168.3.120:9000'; // 张赛 // BASE_API = 'http://192.168.8.140:9000'; // 杜康 // BASE_API = 'http://b29z135112.zicp.vip'; // BASE_API = 'http://2925963m2a.zicp.vip'; // 杜康 diff --git a/src/views/newMap/mapsystemNew/index.vue b/src/views/newMap/mapsystemNew/index.vue index 39f318ca8..dac7e319f 100644 --- a/src/views/newMap/mapsystemNew/index.vue +++ b/src/views/newMap/mapsystemNew/index.vue @@ -8,7 +8,6 @@ import MapCommon from './common/index'; import { getToken } from '@/utils/auth'; import { creatSubscribe, clearSubscribe, displayTopic, getTopic } from '@/utils/stomp'; -import { checkLoginLine } from '@/api/login'; import { getSimulationMemberList, getAllSimulationUser } from '@/api/simulation'; import { getMemberListCommon, getUserListCommon } from '@/api/rtSimulation'; import parseStatus from '@/utils/parseStatus'; @@ -25,7 +24,6 @@ export default { stomp: null, currentMap: null, ierval: null, - checkLine: null, mouseNum: 1, mouseNumTime: 0, mapBoxP: null, @@ -80,7 +78,6 @@ export default { this.mode = this.$route.params.mode || ''; this.currentMap = this.$refs.mapCommon; this.groupModel = this.$route.query.group; - this.checkLoginLineTimer(); // 心跳发送 this.checkMouseStatusTimer(); // 鼠标样式变化检测 this.$nextTick(() => { setTimeout(() => { @@ -152,19 +149,6 @@ export default { clearInterval(this.ierval); this.ierval = null; } - if (this.checkLine) { - clearInterval(this.checkLine); - this.checkLine = null; - } - }, - // 设置检查在线定时器 - checkLoginLineTimer() { - if (this.checkLine) { - clearTimeout(this.checkLine); - } - this.checkLine = setInterval(() => { - checkLoginLine(); - }, 5000 * 60); }, // 设置手标显示状态 checkMouseStatusTimer() { diff --git a/src/views/newMap/newMapdraft/index.vue b/src/views/newMap/newMapdraft/index.vue index cdfbe10bf..2156ca7ca 100644 --- a/src/views/newMap/newMapdraft/index.vue +++ b/src/views/newMap/newMapdraft/index.vue @@ -52,7 +52,6 @@