2018-01-29 10:57:20 +00:00
|
|
|
<cn>
|
|
|
|
#### 多级菜单
|
|
|
|
传入的菜单里有多个层级。
|
|
|
|
</cn>
|
|
|
|
|
|
|
|
<us>
|
|
|
|
#### Cascading menu
|
|
|
|
The menu has multiple levels.
|
|
|
|
</us>
|
|
|
|
|
|
|
|
```html
|
|
|
|
<template>
|
|
|
|
<a-dropdown>
|
2019-09-28 12:45:07 +00:00
|
|
|
<a class="ant-dropdown-link" href="#"> Cascading menu <a-icon type="down" /> </a>
|
2018-01-29 10:57:20 +00:00
|
|
|
<a-menu slot="overlay">
|
2018-01-30 09:13:44 +00:00
|
|
|
<a-menu-item>1st menu item</a-menu-item>
|
|
|
|
<a-menu-item>2nd menu item</a-menu-item>
|
2018-01-29 10:57:20 +00:00
|
|
|
<a-sub-menu title="sub menu" key="test">
|
|
|
|
<a-menu-item>3rd menu item</a-menu-item>
|
|
|
|
<a-menu-item>4th menu item</a-menu-item>
|
|
|
|
</a-sub-menu>
|
|
|
|
<a-sub-menu title="disabled sub menu" disabled>
|
|
|
|
<a-menu-item>5d menu item</a-menu-item>
|
|
|
|
<a-menu-item>6th menu item</a-menu-item>
|
|
|
|
</a-sub-menu>
|
|
|
|
</a-menu>
|
|
|
|
</a-dropdown>
|
|
|
|
</template>
|
|
|
|
```
|