From 17d224a823e7342f82856d4baf9f73bdf813a3ea Mon Sep 17 00:00:00 2001
From: shishuaikang <280848880@qq.com>
Date: 星期五, 01 十二月 2023 09:32:56 +0800
Subject: [PATCH] h5页面定时器改1分钟

---
 web/src/views/MixingInfo/workShop.vue |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/web/src/views/MixingInfo/workShop.vue b/web/src/views/MixingInfo/workShop.vue
index fc5d3aa..99cfbe0 100644
--- a/web/src/views/MixingInfo/workShop.vue
+++ b/web/src/views/MixingInfo/workShop.vue
@@ -63,14 +63,14 @@
         this.searchWorkInfos()
     },
     mounted(){
-        // const that = this;
-        // that.timer = setInterval(()=>{
-        //     that.searchWorkInfos()
-        // },300000)
+        const that = this;
+        that.timer = setInterval(()=>{
+            that.searchWorkInfos()
+        },60000)
     },
     beforeDestroy() {
-        // clearInterval(this.timer);
-        // this.timer = null;
+        clearInterval(this.timer);
+        this.timer = null;
     },
     methods:{
         searchWorkInfos(){

--
Gitblit v1.9.3