You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
478 B
13 lines
478 B
<template functional>
|
|
<a-sub-menu v-on="listeners" :key="data.key">
|
|
<span slot="title"><a-icon type="mail" /><span>{{data.attrs.menuInfo.title}}</span></span>
|
|
<template v-for="item in data.attrs.menuInfo.children">
|
|
<a-menu-item v-if="!item.children" :key="item.key">
|
|
<a-icon type="pie-chart" />
|
|
<span>{{item.title}}</span>
|
|
</a-menu-item>
|
|
<sub-menu v-else :menuInfo="item" :key="item.key"/>
|
|
</template>
|
|
</a-sub-menu>
|
|
</template>
|