chore: save work before switching to dev
This commit is contained in:
@@ -36,8 +36,8 @@ export default defineComponent({
|
||||
const { isTagsViewCurrenFull } = storeToRefs(storesTagsViewRoutes);
|
||||
const onSetAuth = () => {
|
||||
// https://gitee.com/lyt-top/vue-next-admin/issues/I5C3JS
|
||||
// 清除缓存/token等
|
||||
Session.clear();
|
||||
// 401 页面回登录时只清理登录态相关缓存,保留本地个性化配置。
|
||||
Session.clearAuth();
|
||||
// 使用 reload 时,不需要调用 resetRoute() 重置路由
|
||||
window.location.reload();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user