提交 22aebe5e 编写于 作者: DCloud_JSON's avatar DCloud_JSON

修复 部分情况下 因??语法导致的使用 HBuilderX上的debug按钮 调试nvue异常的问题

上级 9104c672
......@@ -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})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册