From 1322877734534b271c3123c1892adac7f781e35b Mon Sep 17 00:00:00 2001 From: liukangdong <898885815@qq.com> Date: 星期四, 06 三月 2025 10:53:25 +0800 Subject: [PATCH] ll --- admin/src/views/platform/index.vue | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/admin/src/views/platform/index.vue b/admin/src/views/platform/index.vue index e566346..82d288f 100644 --- a/admin/src/views/platform/index.vue +++ b/admin/src/views/platform/index.vue @@ -202,17 +202,26 @@ detail: {}, isShowQueuing: false, timer: null, + timer2: null, loadingOpen: false, loadingFinish: false, } }, created() { - setInterval(() => { + this.timer2 = setInterval(() => { this.getPlatGroupList() }, 1000 * 20) this.getPlatGroupList() }, + beforeDestroy() { + if (this.timer2) { + clearInterval(this.timer2) + } + if (this.timer) { + clearInterval(this.timer) + } + }, methods: { handleWork(item) { this.loadingOpen = true -- Gitblit v1.9.3