diff --git a/src/utils/config.js b/src/utils/config.js index fdc599fa8be5ca73ce947986c2e3bf4e6bdb17a6..ca689dc44d21fa8da11bc28fdcd26078b564e63b 100644 --- a/src/utils/config.js +++ b/src/utils/config.js @@ -3,6 +3,6 @@ module.exports = { // baseUrl: '49.234.81.196:2011' // baseUrl: '120.25.106.20:2011' // baseUrl: '120.25.106.20:2011' - // baseUrl: 'localhost:40000' - baseUrl: '192.168.0.105:2011' + baseUrl: 'localhost:40000' + // baseUrl: '192.168.0.105:2011' } diff --git a/src/utils/websocket_service.js b/src/utils/websocket_service.js index e7a74d36e2b70cd47cdd3b409f0f30b6a8546e7d..cb32cc6ccdb1566414206623e835b0ae9c487f82 100644 --- a/src/utils/websocket_service.js +++ b/src/utils/websocket_service.js @@ -117,7 +117,7 @@ const heartCheck = { SocketService.Instance.ws.send('I am Your father!') // Message.info('HeartBeat') self.serverTimeoutObj = setTimeout(function() { // 如果超过一定时间还没重置,说明后端主动断开了 - Message.warning('关闭服务') + // Message.warning('关闭服务') SocketService.Instance.ws.close()// 如果onclose会执行reconnect,我们执行 websocket.close()就行了.如果直接执行 reconnect 会触发onclose导致重连两次 }, self.timeout) }, this.timeout) diff --git a/src/views/FacilityManagement/FacilityLists.vue b/src/views/FacilityManagement/FacilityLists.vue index 063c2c3152ce1f9c0de8b1d949631ad77494338e..3ed6484adcf9ac717dfd76d82ee7521a08841678 100644 --- a/src/views/FacilityManagement/FacilityLists.vue +++ b/src/views/FacilityManagement/FacilityLists.vue @@ -284,7 +284,7 @@ - + @@ -308,7 +308,7 @@ - + @@ -356,7 +356,7 @@ - + @@ -392,7 +392,7 @@ :disabled="isShow" > - + @@ -427,7 +427,7 @@ - + @@ -452,7 +452,7 @@ - + @@ -499,7 +499,7 @@ - + @@ -547,7 +547,7 @@ - + @@ -594,7 +594,7 @@ - + @@ -642,7 +642,7 @@ - + diff --git a/src/views/NewMainPageComponents/LeftCenter.vue b/src/views/NewMainPageComponents/LeftCenter.vue index 21021fc8e81d9fc76a5d7c9a9b6d76ea6c79b0ab..a488f764a4fb8a5b0fdc1230bdc05f039ea3abe5 100644 --- a/src/views/NewMainPageComponents/LeftCenter.vue +++ b/src/views/NewMainPageComponents/LeftCenter.vue @@ -79,7 +79,7 @@ - + @@ -103,7 +103,7 @@ - + @@ -151,7 +151,7 @@ - + @@ -187,7 +187,7 @@ :disabled="isShow" > - + @@ -222,7 +222,7 @@ - + @@ -247,13 +247,13 @@ - + - + @@ -294,13 +294,13 @@ - + - + @@ -342,13 +342,13 @@ - + - + @@ -389,7 +389,7 @@ - + @@ -437,7 +437,7 @@ - +