From 16d86c76d55eb062fa11ba6272e97379e0496d9d Mon Sep 17 00:00:00 2001
From: licp <lichunping@guanfang.com.cn>
Date: 星期三, 12 六月 2024 14:43:51 +0800
Subject: [PATCH] 检验下单RTS功能修改

---
 src/components/view/b4-daily-business-statistics.vue |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/components/view/b4-daily-business-statistics.vue b/src/components/view/b4-daily-business-statistics.vue
index 594e47f..e0bc0d3 100644
--- a/src/components/view/b4-daily-business-statistics.vue
+++ b/src/components/view/b4-daily-business-statistics.vue
@@ -147,10 +147,13 @@
       },
       pageData:{},
       loading:false,
+      timers:null,
     }
   },
   mounted(){
     this.init()
+    this.timers&&clearInterval(this.timers);
+    setInterval(this.init(),1000*60*5)
   },
   methods:{
     init(){
@@ -181,6 +184,9 @@
         return '0'
       }
     }
+  },
+  deactivated(){
+    this.timers&&clearInterval(this.timers);
   }
 }
 </script>

--
Gitblit v1.9.3