From 8a6cfd58c99b3b2ca4ae1c525beb3696bac0ba08 Mon Sep 17 00:00:00 2001 From: ywyonui Date: Sat, 6 Sep 2025 11:00:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=80=9A=E8=BF=87openId?= =?UTF-8?q?=E5=88=87=E6=8D=A2=E6=95=99=E5=B8=88=E6=97=B6=EF=BC=8C=E9=A6=96?= =?UTF-8?q?=E9=A1=B5=E6=95=B0=E6=8D=AE=E6=B2=A1=E6=9B=B4=E6=96=B0=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98=EF=BC=8C=E5=88=A4=E6=96=AD=E5=AE=8C=E4=BA=86?= =?UTF-8?q?openId=E4=B9=8B=E5=90=8E=EF=BC=8C=E4=BD=BF=E7=94=A8reLaunch?= =?UTF-8?q?=E5=8A=A0=E8=BD=BD=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/system/launchPage/launchPage.vue | 2 +- src/store/modules/user.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/pages/system/launchPage/launchPage.vue b/src/pages/system/launchPage/launchPage.vue index 54b2146..8c67d49 100644 --- a/src/pages/system/launchPage/launchPage.vue +++ b/src/pages/system/launchPage/launchPage.vue @@ -57,7 +57,7 @@ async function forceRefreshPermission(changeTime?: string): Promise { function goByJs(js: any) { if (js.confirmStatus == "A") { // 跳转到自助服务首页 - uni.switchTab({ + uni.reLaunch({ url: "/pages/base/service/index", }); } else { diff --git a/src/store/modules/user.ts b/src/store/modules/user.ts index e325e31..a726123 100644 --- a/src/store/modules/user.ts +++ b/src/store/modules/user.ts @@ -170,7 +170,6 @@ export const useUserStore = defineStore({ afterLoginAction(value: any) { console.log("=== afterLoginAction 开始 ==="); console.log("用户数据:", value); - this.setUser(value); this.setJs(value.js); if (value[AUTH_KEY]) {