From 0c0c1d937b2c1a6be7d71ed14fb37bf1928774ab Mon Sep 17 00:00:00 2001
From: 曹睿 <360930172@qq.com>
Date: 星期五, 25 四月 2025 16:15:21 +0800
Subject: [PATCH] feat: 添加登出业务理
---
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