update
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user