This commit is contained in:
2025-08-25 13:22:50 +08:00
parent b1b2d1d8dc
commit 6dfb913822
3 changed files with 4 additions and 4 deletions

View File

@@ -12,8 +12,10 @@ export default {
if (!UserStore.isLogin && window.location.href.indexOf('/pages/register/index') < 0 && window.location.href.indexOf('/pages/fastInput/index') < 0) {
toPage('/pages/login/index');
}
const SystemStore = useSystemStore();
SystemStore.getMessageCount();
if (UserStore.isLogin) {
const SystemStore = useSystemStore();
SystemStore.getMessageCount();
}
// #endif
},
onHide: function () {