From 2732ac88d39ba734771ddf014ef5a5131c4196dd Mon Sep 17 00:00:00 2001
From: 李凌 <344137771@qq.com>
Date: Wed, 10 Sep 2025 16:11:21 +0800
Subject: [PATCH] 停牌

---
 src/views/cryptos/Trade/index.vue |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/views/cryptos/Trade/index.vue b/src/views/cryptos/Trade/index.vue
index 368bc93..656348a 100644
--- a/src/views/cryptos/Trade/index.vue
+++ b/src/views/cryptos/Trade/index.vue
@@ -140,9 +140,7 @@
       </div> -->
       <van-action-sheet class="action-sheet" v-model:show="isSelectShow" @select="onSelect" :actions="actions"
         :cancel-text="$t('取消')" close-on-click-action @cancel="onCancel" />
-
     </div>
-
   </div>
 </template>
 
@@ -282,6 +280,8 @@
     handleImage,
     ...mapActions('home', [SET_COIN_LIST]),
     onUpdate(symbol) { // 更新
+      console.log("symbol",symbol);
+      
       this.symbol = symbol
       this.closeSocket()
       this.init(symbol)
@@ -391,7 +391,6 @@
             this.initClose = res
           })
         }
-
         if (this.userInfo.token) {
           this.getWallet()
           this.timer3 = setInterval(() => {
@@ -399,6 +398,9 @@
           }, 2000)
         }
       }
+      else{
+        showFailToast(this.$t('请先登录'))
+      }
     },
     init(symbol) { // 初始化页面
       this.symbol = symbol

--
Gitblit v1.9.3