Merge branch 'master' of https://github.com/youlaitech/vue3-element-admin
Former-commit-id: 0a6f8c935d347acf77e74adc70fed6bbe15eb4e7
This commit is contained in:
@@ -90,9 +90,13 @@ function resolvePath(routePath: string) {
|
|||||||
<app-link v-if="onlyOneChild.meta" :to="resolvePath(onlyOneChild.path)">
|
<app-link v-if="onlyOneChild.meta" :to="resolvePath(onlyOneChild.path)">
|
||||||
<el-menu-item :index="resolvePath(onlyOneChild.path)">
|
<el-menu-item :index="resolvePath(onlyOneChild.path)">
|
||||||
<svg-icon
|
<svg-icon
|
||||||
v-if="onlyOneChild.meta && onlyOneChild.meta.icon"
|
:icon-class="
|
||||||
:icon-class="onlyOneChild.meta.icon"
|
onlyOneChild.meta && onlyOneChild.meta.icon
|
||||||
|
? onlyOneChild.meta.icon
|
||||||
|
: 'menu'
|
||||||
|
"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<template #title>
|
<template #title>
|
||||||
{{ translateRouteTitleI18n(onlyOneChild.meta.title) }}
|
{{ translateRouteTitleI18n(onlyOneChild.meta.title) }}
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Reference in New Issue
Block a user