mirror of
https://github.com/un-pany/v3-admin-vite.git
synced 2025-04-20 10:59:21 +08:00
Merge ffd604e22a7c8a8b5bbf80cc578c0f1d09a065d5 into 8d3b688a5fc46952bfe9525a79647dbefaccd48f
This commit is contained in:
commit
477f69c225
@ -49,7 +49,7 @@ function resolvePath(routePath: string) {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<template v-if="!alwaysShowRootMenu && theOnlyOneChild && !theOnlyOneChild.children">
|
<template v-if="!alwaysShowRootMenu && theOnlyOneChild && !showingChildNumber">
|
||||||
<Link v-if="theOnlyOneChild.meta" :to="resolvePath(theOnlyOneChild.path)">
|
<Link v-if="theOnlyOneChild.meta" :to="resolvePath(theOnlyOneChild.path)">
|
||||||
<el-menu-item :index="resolvePath(theOnlyOneChild.path)">
|
<el-menu-item :index="resolvePath(theOnlyOneChild.path)">
|
||||||
<SvgIcon v-if="theOnlyOneChild.meta.svgIcon" :name="theOnlyOneChild.meta.svgIcon" class="svg-icon" />
|
<SvgIcon v-if="theOnlyOneChild.meta.svgIcon" :name="theOnlyOneChild.meta.svgIcon" class="svg-icon" />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user