增加后台会话撤销并统一拼单业务状态

This commit is contained in:
yml2213
2026-08-18 18:36:48 +08:00
parent 4867861b8b
commit 323b9ea34c
7 changed files with 164 additions and 13 deletions
+1 -1
View File
@@ -145,7 +145,7 @@ export default function AdminLayout() {
try {
await logoutAdmin()
} catch {
// 后端退出是无状态的,本地清理优先
// 服务端撤销失败时仍清理本地登录态,避免当前设备继续显示为已登录
} finally {
clearAdminSession()
message.success('已退出后台')