feat: 授权后token刷新保持
This commit is contained in:
@@ -100,8 +100,6 @@ const handleLogout = () => {
|
||||
success: (res) => {
|
||||
if (res.confirm) {
|
||||
uni.clearStorageSync();
|
||||
appStore.setHasToken(false);
|
||||
appStore.setTokenExpired(true);
|
||||
emits("close");
|
||||
uni.$emit(NOTICE_EVENT_LOGOUT);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user