From fe6dbaaefef6dd9bb4a1ee26df8ad8b451500a10 Mon Sep 17 00:00:00 2001
From: 曹睿 <360930172@qq.com>
Date: 星期三, 21 五月 2025 09:48:36 +0800
Subject: [PATCH] fix: 修复扫码接口

---
 src/pages/mine/index.vue |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/pages/mine/index.vue b/src/pages/mine/index.vue
index b3b93ab..d6e1504 100644
--- a/src/pages/mine/index.vue
+++ b/src/pages/mine/index.vue
@@ -211,9 +211,9 @@
       </view>
     </view> -->
 
-    <!-- <view v-if="isLogin" class="logout-btn-container">
+    <view v-if="isLogin" class="logout-btn-container">
       <wd-button class="logout-btn" @click="handleLogout">閫�鍑虹櫥褰�</wd-button>
-    </view> -->
+    </view>
 
     <wd-toast />
   </view>
@@ -252,6 +252,7 @@
       if (res.confirm) {
         userStore.logout();
         toast.show("宸查��鍑虹櫥褰�");
+        uni.reLaunch({ url: "/pages/login/index" });
       }
     },
   });

--
Gitblit v1.9.3