Skip to content

Commit cb1d394

Browse files
committed
fix
1 parent e439089 commit cb1d394

File tree

1 file changed

+1
-1
lines changed
  • packages/ui/xconsole-rc-app-layout/src/types

1 file changed

+1
-1
lines changed

packages/ui/xconsole-rc-app-layout/src/types/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export interface ISidebarConfig {
4444
navs: INavConfig[];
4545

4646
// 菜单项点击事件
47-
onItemClick: (key: string, itemInfo: any, e: MouseEvent) => void;
47+
onItemClick?: (key: string, itemInfo: any, e: MouseEvent) => void;
4848

4949
/**
5050
* @deprecated

0 commit comments

Comments
 (0)