From a577fb48bed27bed15d20fb429136442fbd3319a Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Tue, 21 Oct 2025 14:51:35 +0800
Subject: [PATCH] feat: 登陆的时候关闭其他页面
---
src/pages/login/index.vue | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/pages/login/index.vue b/src/pages/login/index.vue
index 9f75363..599916b 100644
--- a/src/pages/login/index.vue
+++ b/src/pages/login/index.vue
@@ -64,7 +64,7 @@
userInfo.code
).then((res) => {
userStore.setUserInfo(res.data);
- uni.switchTab({
+ uni.reLaunch({
url: "/pages/user/index",
});
});
--
Gitblit v1.9.3