update
This commit is contained in:
@@ -6,10 +6,12 @@ export default {
|
||||
onLaunch: function () {
|
||||
},
|
||||
onShow: function () {
|
||||
// #ifndef MP-WEIXIN
|
||||
const UserStore = useUserStore();
|
||||
if (!UserStore.isLogin) {
|
||||
toPage('/pages/login/index');
|
||||
}
|
||||
// #endif
|
||||
},
|
||||
onHide: function () {
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user