From adfe1ca87e734e564b56a42c6fc5d015b4858eb3 Mon Sep 17 00:00:00 2001 From: licp <lichunping@guanfang.com.cn> Date: 星期二, 04 六月 2024 20:37:49 +0800 Subject: [PATCH] 修改任务检验 --- 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