diff --git a/biji-qianduan/src/components/HomePage.vue b/biji-qianduan/src/components/HomePage.vue index 5e62255..8dc27cf 100644 --- a/biji-qianduan/src/components/HomePage.vue +++ b/biji-qianduan/src/components/HomePage.vue @@ -467,7 +467,11 @@ const renderMenu = (item) => { index: `group-${item.id}`, popperClass: isCollapsed.value ? 'hide-popper' : '' }, { - title: () => h('div', { onClick: () => selectFile(item), style: 'width: 100%;' }, [ wrappedContent() ]), + title: () => h('div', { + class: 'submenu-title-wrapper', + onClick: () => selectFile(item), + style: 'width: 100%; display: flex; align-items: center;' + }, [ wrappedContent() ]), default: () => item.children.map(child => renderMenu(child)) }); }