mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-09-01 13:39:49 +08:00
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)"
|
||||
popper-append-to-body
|
||||
>
|
||||
<app-link v-if="appLinkShow" :to="resolvePath(onlyOneChild.path)">
|
||||
<item :icon="onlyOneChild.meta.icon||(item.meta&&item.meta.icon)" :title="onlyOneChild.meta.title" />
|
||||
</app-link>
|
||||
<template v-if="appLinkShow">
|
||||
<app-link v-if="onlyOneChild.meta" :to="resolvePath(onlyOneChild.path)">
|
||||
<item
|
||||
:icon="onlyOneChild.meta.icon || (item.meta && item.meta.icon)"
|
||||
:title="onlyOneChild.meta.title"
|
||||
/>
|
||||
</app-link>
|
||||
</template>
|
||||
<template v-else>
|
||||
<template slot="title">
|
||||
<item v-if="item.meta" :icon="item.meta && item.meta.icon" :title="item.meta.title" />
|
||||
|
Loading…
x
Reference in New Issue
Block a user