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)">
|
||||
<el-menu-item :index="resolvePath(onlyOneChild.path)">
|
||||
<svg-icon
|
||||
v-if="onlyOneChild.meta && onlyOneChild.meta.icon"
|
||||
:icon-class="onlyOneChild.meta.icon"
|
||||
:icon-class="
|
||||
onlyOneChild.meta && onlyOneChild.meta.icon
|
||||
? onlyOneChild.meta.icon
|
||||
: 'menu'
|
||||
"
|
||||
/>
|
||||
|
||||
<template #title>
|
||||
{{ translateRouteTitleI18n(onlyOneChild.meta.title) }}
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user