Commit 42b4b288 authored by caicaicai's avatar caicaicai

修改

parent 7ca50854
......@@ -3,7 +3,7 @@ ENV = 'development'
# 接口地址
#VUE_APP_BASE_API = 'http://localhost:8000'
VUE_APP_BASE_API = 'http://192.168.0.110:8001'
VUE_APP_WS_API = 'ws://192.168.0.111:8001/webSocket'
VUE_APP_WS_API = 'ws://192.168.0.111:9090/webSocket'
VUE_APP_LOCAL_API = 'http://192.168.0.110:8001'
VUE_APP_LOCAL_API2 = 'http://192.168.0.110:8001'
......
......@@ -122,8 +122,11 @@ export default {
this.topSmallTitleRightData = rightTemporaryData;
}
})
//开启websocket
this.$refs.intelligentSchedulMethod.loadData3();
})
},
//选择展示模块
changeOver(item){
this.selectModule = item.componentName;
if(item.componentName == 'dataScreening'){
......@@ -313,7 +316,10 @@ export default {
},
beforeDestroy(){
this.timer = null;
this.$refs.intelligentSchedulMethod.xintiaoCloseFn();
if(this.timer) {
clearInterval(this.timer);
}
}
}
</script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment