|
|
@ -15,10 +15,12 @@ |
|
|
|
:index="resolvePath(onlyOneChild.path)" |
|
|
|
:class="{ 'submenu-title-noDropdown': !isNest }" |
|
|
|
> |
|
|
|
{{ sideTheme }} |
|
|
|
<div v-if="onlyOneChild.meta.icon"> |
|
|
|
<div v-if="itmeIcon[onlyOneChild.meta.title]" class="div-img"> |
|
|
|
<img :src="itmeIcon[onlyOneChild.meta.title]" alt="" /> |
|
|
|
</div> |
|
|
|
<div v-if="itmeIcon[onlyOneChild.meta.title]" class="div-img-gl"> |
|
|
|
<img :src="itmeIcon1[onlyOneChild.meta.title]" alt="" /> |
|
|
|
</div> |
|
|
|
<item |
|
|
|
:icon="onlyOneChild.meta.icon || (item.meta && item.meta.icon)" |
|
|
|
:title="onlyOneChild.meta.title" |
|
|
@ -140,3 +142,8 @@ export default { |
|
|
|
}, |
|
|
|
}; |
|
|
|
</script> |
|
|
|
<style scoped> |
|
|
|
.div-img-gl { |
|
|
|
display: none; |
|
|
|
} |
|
|
|
</style> |
|
|
|