doc: update menu icon

pull/6514/head
tangjinzhou 2023-04-23 15:00:34 +08:00
parent 8ab50b1757
commit 760c4c2695
3 changed files with 2 additions and 22 deletions

View File

@ -23,17 +23,6 @@ More layouts with navigation: [Layout](/components/layout).
## API
```html
<template>
<a-menu>
<a-menu-item>Menu</a-menu-item>
<a-sub-menu key="sub1" title="SubMenu">
<a-menu-item>SubMenuItem</a-menu-item>
</a-sub-menu>
</a-menu>
</template>
```
### Menu
| Param | Description | Type | Default value |

View File

@ -24,17 +24,6 @@ coverDark: https://mdn.alipayobjects.com/huamei_7uahnr/afts/img/A*Vn4XSqJFAxcAAA
## API
```html
<template>
<a-menu>
<a-menu-item>菜单项</a-menu-item>
<a-sub-menu key="sub1" title="子菜单">
<a-menu-item>子菜单项</a-menu-item>
</a-sub-menu>
</a-menu>
</template>
```
### Menu
| 参数 | 说明 | 类型 | 默认值 |

View File

@ -17,6 +17,8 @@ export default defineComponent({
onClick: { type: Function },
onKeydown: { type: Function },
onFocus: { type: Function },
role: String,
tabindex: Number,
},
setup(props, { slots, attrs }) {
const context = useInjectOverflowContext();