mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-20 06:34:55 +00:00
[feature](webapp) upgrade agent
This commit is contained in:
@@ -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,
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user