fix: 修复子路由设置 hidden: true 不生效的问题
This commit is contained in:
parent
fff3eb9498
commit
b2597f1ffd
@ -79,8 +79,8 @@ const resolvePath = (routePath: string) => {
|
|||||||
<span v-if="props.item.meta?.title">{{ props.item.meta.title }}</span>
|
<span v-if="props.item.meta?.title">{{ props.item.meta.title }}</span>
|
||||||
</template>
|
</template>
|
||||||
<template v-if="props.item.children">
|
<template v-if="props.item.children">
|
||||||
<sidebar-item
|
<SidebarItem
|
||||||
v-for="child in props.item.children"
|
v-for="child in showingChildren"
|
||||||
:key="child.path"
|
:key="child.path"
|
||||||
:item="child"
|
:item="child"
|
||||||
:is-collapse="props.isCollapse"
|
:is-collapse="props.isCollapse"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user