chore: save work before switching to dev

This commit is contained in:
2026-04-24 09:36:56 +08:00
parent 9e45acf60b
commit 415ba67d01
14 changed files with 587 additions and 583 deletions

View File

@@ -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();
};