From f3a249e7d26000ceaf1a163ef3457a4ce0fae666 Mon Sep 17 00:00:00 2001
From: unknown <dcc@163.com>
Date: Fri, 10 May 2024 02:23:07 +0800
Subject: [PATCH] 222
---
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