fix(sidebar): 修复侧栏连点,统一布局与加载交互

This commit is contained in:
zhanjunhao
2026-11-27 18:58:52 +08:00
parent 1e7780bdce
commit ec6b35b66b
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 }),
},