From 11f4f3536b4c1c3b089db9ee4f8e81cd7a35a055 Mon Sep 17 00:00:00 2001
From: lxf <1371462558@qq.com>
Date: Mon, 14 Jul 2025 17:52:23 +0800
Subject: [PATCH] 内存泄漏风险

---
 src/views/cryptos/TrendDetails/index.vue |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/views/cryptos/TrendDetails/index.vue b/src/views/cryptos/TrendDetails/index.vue
index bf94aca..6a68978 100644
--- a/src/views/cryptos/TrendDetails/index.vue
+++ b/src/views/cryptos/TrendDetails/index.vue
@@ -443,7 +443,7 @@
         })
         return
       } else {
-        this.$router.push(`/cryptos/perpetualContract/${this.symbol}`)
+        this.$router.push(`/cryptos/perpetualContract/${this.symbol}?type=cryptos&selectIndex=2`)
       }
     },
     onClose() {
@@ -525,6 +525,7 @@
     this.sockets.quote = null
     this.sockets.deals = null
     this.sockets.askBid = null
+    clearTimeout(this.timeout)
   },
   beforeRouteEnter(to, from, next) {
     const { params: { symbol } } = to

--
Gitblit v1.9.3