fix: 修复顶部导航和侧边栏菜单连点bug,封装公共侧边栏菜单组件并统一ui样式与交互

This commit is contained in:
zhanjunhao
2026-11-27 18:58:52 +08:00
parent 1e7780bdce
commit 6e41115d40
26 changed files with 875 additions and 805 deletions
@@ -41,6 +41,13 @@ const mocks = {
'../../hooks/common/useSidebarCollapsed': {
useSidebarCollapsed: () => [false, () => {}],
},
'../../hooks/common/useTopNavigation': {
useSidebarNavigation: () => () => {},
},
'../../components/layout/components/CenterSidebar': {
CenterSidebar: 'aside',
CenterSidebarItem: 'link',
},
'../../hooks/common/useWeyAiWebEntry': {
useWeyAiDownloadEntry: () => ({ visible: false }),
},