fix(canvas): 构建兼容 - 修复 Agent 缓存键与退出会话类型
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user