[feature](webapp) upgrade agent

This commit is contained in:
williamhliu
2023-09-04 11:46:36 +08:00
parent 559ef974b0
commit d5c5c63a75
50 changed files with 1334 additions and 1897 deletions

View File

@@ -158,13 +158,14 @@ export const layout: RunTimeLayoutConfig = (params) => {
menuHeaderRender: undefined,
childrenRender: (dom) => {
return (
<>
<div
style={{ height: location.pathname.includes('chat') ? 'calc(100vh - 48px)' : undefined }}
>
{dom}
{history.location.pathname !== '/chat' && !isMobile && <Copilot />}
</>
</div>
);
},
openKeys: false,
...initialState?.settings,
};
};