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

fix: 修复子路由设置 hidden: true 不生效的问题

This commit is contained in:
pany 2024-02-05 17:26:42 +08:00
parent fff3eb9498
commit b2597f1ffd

View File

@ -79,8 +79,8 @@ const resolvePath = (routePath: string) => {
<span v-if="props.item.meta?.title">{{ props.item.meta.title }}</span>
</template>
<template v-if="props.item.children">
<sidebar-item
v-for="child in props.item.children"
<SidebarItem
v-for="child in showingChildren"
:key="child.path"
:item="child"
:is-collapse="props.isCollapse"