From 22aebe5e26f9b2f4e0d4715a4d74344085861dbc Mon Sep 17 00:00:00 2001 From: DCloud__JSON Date: Fri, 28 Apr 2023 11:42:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20=E9=83=A8=E5=88=86?= =?UTF-8?q?=E6=83=85=E5=86=B5=E4=B8=8B=20=E5=9B=A0=3F=3F=E8=AF=AD=E6=B3=95?= =?UTF-8?q?=E5=AF=BC=E8=87=B4=E7=9A=84=E4=BD=BF=E7=94=A8=20HBuilderX?= =?UTF-8?q?=E4=B8=8A=E7=9A=84debug=E6=8C=89=E9=92=AE=20=E8=B0=83=E8=AF=95n?= =?UTF-8?q?vue=E5=BC=82=E5=B8=B8=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- uni_modules/uni-id-pages/common/store.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uni_modules/uni-id-pages/common/store.js b/uni_modules/uni-id-pages/common/store.js index 6937081..6bf16ff 100644 --- a/uni_modules/uni-id-pages/common/store.js +++ b/uni_modules/uni-id-pages/common/store.js @@ -79,7 +79,7 @@ export const mutations = { uni.removeStorageSync('uni_id_token'); uni.setStorageSync('uni_id_token_expired', 0) uni.redirectTo({ - url: `/${pagesJson.uniIdRouter?.loginPage ?? 'uni_modules/uni-id-pages/pages/login/login-withoutpwd'}`, + url: `/${pagesJson.uniIdRouter && pagesJson.uniIdRouter.loginPage ? 'uni_modules/uni-id-pages/pages/login/login-withoutpwd': ''}`, }); uni.$emit('uni-id-pages-logout') this.setUserInfo({},{cover:true}) -- GitLab