chore: 主动登出不需要带跳转地址
This commit is contained in:
parent
24e889adbe
commit
34a11ce64d
@ -8,6 +8,7 @@
|
|||||||
|
|
||||||
- 菜单管理 改为虚拟滚动
|
- 菜单管理 改为虚拟滚动
|
||||||
- 移除requestClient的一些冗余参数
|
- 移除requestClient的一些冗余参数
|
||||||
|
- 主动退出登录(右上角个人选项)不需要带跳转地址
|
||||||
|
|
||||||
**BUG FIXES**
|
**BUG FIXES**
|
||||||
|
|
||||||
|
@ -88,7 +88,10 @@ const avatar = computed(() => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
async function handleLogout() {
|
async function handleLogout() {
|
||||||
await authStore.logout();
|
/**
|
||||||
|
* 主动登出不需要带跳转地址
|
||||||
|
*/
|
||||||
|
await authStore.logout(false);
|
||||||
resetRoutes();
|
resetRoutes();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user