fix: 收口会话边界与 CI 环境
统一 Admin 会话解析、避免登出未处理异常,补充 admin/customer logout 与品牌切换契约文档;修正 CI integration 缺少数据库/会话环境的问题,并刷新 doctor source hash。
This commit is contained in:
1 parent
3017e3eb49
commit
bd129a3069
7 files changed
+74
-70
No files matched your search
@@ -25,6 +25,8 @@ export function Root() {
|
||||
const logout = async () => {
|
||||
try {
|
||||
await createApiClient().logoutAdmin();
|
||||
} catch {
|
||||
message.warning("已退出本地会话;服务端撤销请求未完成");
|
||||
} finally {
|
||||
clearAdminSession();
|
||||
setLoggedIn(false);
|
||||
|
||||
Reference in new issue
Block a user