From c70f7de7cd927df10bc882042bfdc451d160537a Mon Sep 17 00:00:00 2001 From: hdka <823267011@qq.com> Date: Tue, 12 Aug 2025 22:18:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9this=E5=AE=9E=E4=BE=8B?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/work/process/index.vue | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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() {