feat: 登录逻辑的调整
This commit is contained in:
@@ -106,6 +106,7 @@ const handleLogout = () => {
|
||||
if (res.confirm) {
|
||||
uni.clearStorageSync();
|
||||
appStore.setHasToken(false);
|
||||
appStore.setTokenExpired(true);
|
||||
emits("closeDrawer");
|
||||
uni.$emit(NOTICE_EVENT_LOGOUT);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user