This commit is contained in:
2025-06-26 13:56:00 +08:00
parent 5147d79bff
commit dcd277835b
16 changed files with 190 additions and 9 deletions

View File

@@ -8,7 +8,7 @@ export default {
onShow: function () {
// #ifndef MP-WEIXIN
const UserStore = useUserStore();
if (!UserStore.isLogin) {
if (!UserStore.isLogin && window.location.href.indexOf('/pages/register/index') < 0) {
toPage('/pages/login/index');
}
// #endif