From 21896f00e9c0a33018a46c427ea97d0993ca469b Mon Sep 17 00:00:00 2001
From: PC-20250623MANY\Administrator <344137771@qq.com>
Date: Wed, 20 Aug 2025 16:23:22 +0800
Subject: [PATCH] 1
---
src/page/kline/index.vue | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/src/page/kline/index.vue b/src/page/kline/index.vue
index a3a11f1..9e7a198 100644
--- a/src/page/kline/index.vue
+++ b/src/page/kline/index.vue
@@ -489,6 +489,13 @@
},
created() {
+ // 进入页面的时候清除所以得计时器,防止页面切换的时候出现多个定时器
+ let end = setTimeout(function() {}, 0);
+ for (let i = 0; i <= end; i++) {
+ clearTimeout(i);
+ clearInterval(i);
+ }
+
const { query } = this.$route;
this.kLineDetails = query;
if (query.if_us === "1") {
--
Gitblit v1.9.3