refactor: playground rerank layout

This commit is contained in:
jialin
2024-11-22 10:00:34 +08:00
parent 8e7fa486db
commit 1e3957bdd5
12 changed files with 218 additions and 135 deletions
+3 -1
View File
@@ -294,7 +294,9 @@ export default (props: any) => {
}
}}
formatMessage={formatMessage}
menu={{ locale: true }}
menu={{
locale: true
}}
logo={collapsed ? SLogoIcon : LogoIcon}
menuItemRender={(menuItemProps, defaultDom) => {
if (menuItemProps.isUrl || menuItemProps.children) {
+3
View File
@@ -108,7 +108,10 @@ export const getRightRenderContent = (opts: {
: 'user-menu-container',
mode: 'vertical',
expandIcon: false,
<<<<<<< HEAD
// inlineCollapsed: collapsed,
=======
>>>>>>> 7174170 (refactor: playground rerank layout)
triggerSubMenuAction: 'hover',
items: [
{