feat(platform): 模型管理与后台能力 - 新增逻辑模型路由和响应拦截
This commit is contained in:
@@ -19,7 +19,7 @@ export function AuthSessionHydrator({ children }: { children: ReactNode }) {
|
||||
if (!cancelled) await applyUserSession(payload);
|
||||
})
|
||||
.catch(async () => {
|
||||
if (!cancelled) await applyUserSession({ user: null, systemChannels: [] });
|
||||
if (!cancelled) await applyUserSession({ user: null, logicalModels: [] });
|
||||
});
|
||||
return () => {
|
||||
cancelled = true;
|
||||
|
||||
Reference in New Issue
Block a user