chore: render standard html tag in sidebar menu
This commit is contained in:
parent
17615c4f49
commit
1bb7a4f5b6
|
@ -7,9 +7,14 @@
|
||||||
:index="resolvePath(item.path)"
|
:index="resolvePath(item.path)"
|
||||||
popper-append-to-body
|
popper-append-to-body
|
||||||
>
|
>
|
||||||
<app-link v-if="appLinkShow" :to="resolvePath(onlyOneChild.path)">
|
<template v-if="appLinkShow">
|
||||||
<item :icon="onlyOneChild.meta.icon||(item.meta&&item.meta.icon)" :title="onlyOneChild.meta.title" />
|
<app-link v-if="onlyOneChild.meta" :to="resolvePath(onlyOneChild.path)">
|
||||||
</app-link>
|
<item
|
||||||
|
:icon="onlyOneChild.meta.icon || (item.meta && item.meta.icon)"
|
||||||
|
:title="onlyOneChild.meta.title"
|
||||||
|
/>
|
||||||
|
</app-link>
|
||||||
|
</template>
|
||||||
<template v-else>
|
<template v-else>
|
||||||
<template slot="title">
|
<template slot="title">
|
||||||
<item v-if="item.meta" :icon="item.meta && item.meta.icon" :title="item.meta.title" />
|
<item v-if="item.meta" :icon="item.meta && item.meta.icon" :title="item.meta.title" />
|
||||||
|
|
Loading…
Reference in New Issue