pinina数据持久化
This commit is contained in:
@@ -50,7 +50,7 @@ const handleLogout = () => {
|
||||
onOk:async() => {
|
||||
const store = useUserStore();
|
||||
await store.userLogut();
|
||||
window.sessionStorage.removeItem('token');
|
||||
window.localStorage.removeItem('token');
|
||||
clearLocalStorage();
|
||||
proxy.$router.push('/login');
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user