diff --git a/src/views/work/process/index.vue b/src/views/work/process/index.vue index 53600e6..bc67deb 100644 --- a/src/views/work/process/index.vue +++ b/src/views/work/process/index.vue @@ -728,14 +728,14 @@ export default { mounted() { // TODO - // clearInterval(this.intervalTime) - // this.getDataList() // 接口方法 - // - // this.intervalTime = setInterval(() => { - // this.getFault() - // this.getPLCData() - // this.getDataList() // 接口方法 - // }, 2000) + clearInterval(this.intervalTime) + this.getDataList() // 接口方法 + + this.intervalTime = setInterval(() => { + this.getFault() + this.getPLCData() + this.getDataList() // 接口方法 + }, 2000) }, computed: {}, created() {