fix(sidebar): 修复侧栏连点,统一布局与加载交互
This commit is contained in:
@@ -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 }),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user