fix(plugin-layout):修复存在二级菜单时一级菜单不显示icon

This commit is contained in:
erictang 2021-09-14 12:31:05 +08:00
parent 434d6aa670
commit 82750efd1c

View File

@ -8,6 +8,9 @@
<template v-for="(item, index) in fixedMenus" :key="index">
<template v-if="item.access">
<a-sub-menu v-if="item.children" :key="index" :title="item.title">
<template v-if="item.icon" #icon>
<MenuIcon :icon="item.icon" />
</template>
<template
v-for="(item1, index1) in item.children"
>