Skip to content

Commit a1eb755

Browse files
kenny-lee-1992sendya
authored andcommitted
Update README.md
Correct slot name
1 parent 6bf67fe commit a1eb755

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/pro-layout/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ const layoutConf = reactive({
122122
| footerRender | custom footer render method | `slot` \| (props: BasicLayoutProps) => VNode | `false` |
123123
| breadcrumbRender | custom breadcrumb render method | `slot` \| ({ route, params, routes, paths, h }) => VNode[] | - |
124124
| menuItemRender | custom render Menu.Item | v-slot#menuItemRender="{ item, icon }" \| ({ item, icon }) => VNode | null |
125-
| menuSubItemRender | custom render Menu.SubItem | v-slot#menuSubItemRender="{ item, icon }" \| ({ item, icon }) => VNode | null |
125+
| subMenuItemRender | custom render Menu.SubItem | v-slot#subMenuItemRender="{ item, icon }" \| ({ item, icon }) => VNode | null |
126126
| locale | i18n | Function (key: string) => string \| `false` | `false` |
127127

128128
> Menu generation requires `getMenuData` and `clearMenuItem` function
@@ -266,4 +266,4 @@ const layoutConf = reactive({
266266

267267
```bash
268268
pnpm build # Build library and .d.ts
269-
```
269+
```

0 commit comments

Comments
 (0)