feat: 登录逻辑的调整

This commit is contained in:
2025-10-12 13:55:35 +08:00
parent 14945914ea
commit 2abce21c49
7 changed files with 58 additions and 15 deletions

View File

@@ -106,6 +106,7 @@ const handleLogout = () => {
if (res.confirm) {
uni.clearStorageSync();
appStore.setHasToken(false);
appStore.setTokenExpired(true);
emits("closeDrawer");
uni.$emit(NOTICE_EVENT_LOGOUT);
}