From 0541c57da9e2eb2254aa771cca6ce58fd7e4f128 Mon Sep 17 00:00:00 2001 From: lai <371757574@qq.com> Date: Thu, 1 Feb 2024 15:22:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/dashboard/overview/components/UPFFlow/index.vue | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/views/dashboard/overview/components/UPFFlow/index.vue b/src/views/dashboard/overview/components/UPFFlow/index.vue index cbbf73fa..15cdadd7 100644 --- a/src/views/dashboard/overview/components/UPFFlow/index.vue +++ b/src/views/dashboard/overview/components/UPFFlow/index.vue @@ -233,14 +233,11 @@ function initPicture() { onMounted(() => { initPicture(); - clearTimeout(timeoutId.value); }); /**组件实例被卸载之后调用 */ onUnmounted(() => { - if (loadId) { - clearInterval(loadId); - } + clearTimeout(timeoutId.value); });