feat: sync admin UI updates

This commit is contained in:
2026-04-23 18:41:45 +08:00
parent 24e517dfec
commit d628dfdd72
12 changed files with 199 additions and 136 deletions

View File

@@ -178,8 +178,8 @@ export default defineComponent({
},
})
.then(async () => {
// 清除缓存/token等
Session.clear();
// 手动退出登录也只清理登录态缓存,保留主题、语言等本地配置。
Session.clearAuth();
// 显式回到登录页,避免保留之前受保护页面的重定向参数
await router.replace('/login');
})