From 28d1a557a41d3c31372ead170911e57c3b2678db Mon Sep 17 00:00:00 2001
From: jhzh <1628036192@qq.com>
Date: Fri, 10 May 2024 18:22:03 +0800
Subject: [PATCH] 修改:注册页面 点击注册 进入 获取验证码页面

---
 src/components/ex-header/index.vue |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/src/components/ex-header/index.vue b/src/components/ex-header/index.vue
index dbd6f8c..a55d556 100644
--- a/src/components/ex-header/index.vue
+++ b/src/components/ex-header/index.vue
@@ -170,9 +170,12 @@
                                                                                                     class="tab-list1-icon-right">
             </div>
           </div>
-          <van-button color="#1D91FF" class="w-full h-80" style="margin-top: 4rem;" type="info" @click="loginOut">
-          {{ $t('退出') }}
-        </van-button>
+          <div v-if="this.$store.state.user.userInfo.token">
+              <van-button  color="#1D91FF" class="w-full h-80" style="margin-top: 4rem;" type="info" @click="loginOut">
+            {{ $t('退出') }}
+            </van-button>
+          </div>
+        
         </div>
         <div style="width: 100%; height: 100px;"></div>
       </div>

--
Gitblit v1.9.3