Template
1
0
mirror of https://github.com/un-pany/v3-admin-vite.git synced 2025-04-19 02:19:20 +08:00

Merge ffd604e22a7c8a8b5bbf80cc578c0f1d09a065d5 into 546d29c39b91b78ffb1d3374780578945086d3d5

This commit is contained in:
Rhys Liu 2025-03-09 20:59:54 +08:00 committed by GitHub
commit ea219f48df
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -49,7 +49,7 @@ function resolvePath(routePath: string) {
</script>
<template>
<template v-if="!alwaysShowRootMenu && theOnlyOneChild && !theOnlyOneChild.children">
<template v-if="!alwaysShowRootMenu && theOnlyOneChild && !showingChildNumber">
<Link v-if="theOnlyOneChild.meta" :to="resolvePath(theOnlyOneChild.path)">
<el-menu-item :index="resolvePath(theOnlyOneChild.path)">
<SvgIcon v-if="theOnlyOneChild.meta.svgIcon" :name="theOnlyOneChild.meta.svgIcon" class="svg-icon" />