From 4702be083e8b554eb3037f0ecc0b4ba1d04c2406 Mon Sep 17 00:00:00 2001
From: lxf <1371462558@qq.com>
Date: Sun, 18 May 2025 17:16:48 +0800
Subject: [PATCH] 解决交易和合约切换值不同步的问题
---
src/components/list-quotation/index.vue | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/components/list-quotation/index.vue b/src/components/list-quotation/index.vue
index 6b50b32..f9a3baf 100644
--- a/src/components/list-quotation/index.vue
+++ b/src/components/list-quotation/index.vue
@@ -244,7 +244,7 @@
onItemClick(item) {
setStorage("symbolname", item.name);
if (this.tabActive == 2) {
- setStorage("tradeSymbol", item.symbol);
+ setStorage("symbol", item.symbol);
//现货
this.$router.push({
path: `/trade/${item.symbol}`,
@@ -255,7 +255,7 @@
// this.$router.push({
// path: `/perpetualContract/${item.symbol}`,
// });
- setStorage("tradeSymbol", item.symbol);
+ setStorage("symbol", item.symbol);
this.$router.push({
path: `/trade/${item.symbol}`,
query: { name: item.name },
--
Gitblit v1.9.3