fix(canvas): 构建兼容 - 修复 Agent 缓存键与退出会话类型

This commit is contained in:
ddCat
2026-08-20 13:46:21 +08:00
parent 5906f7b5a9
commit 2e2b26ecc8
2 changed files with 2 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ export function useWorkspaceLogout() {
setLoggingOut(true);
try {
await logout();
await applyUserSession({ user: null, systemChannels: [] });
await applyUserSession({ user: null, logicalModels: [] });
message.success("已退出登录");
navigate("/login", { replace: true });
} catch (error) {