mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2024-11-01 06:02:38 +08:00
解决登录404异常
This commit is contained in:
parent
74b83f645c
commit
10eff77494
@ -77,7 +77,7 @@ export const useUserStore = defineStore("user", function () {
|
||||
// 退出
|
||||
async function logout() {
|
||||
clear();
|
||||
router.clear();
|
||||
// router.clear();
|
||||
router.push("/login");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user