Closed cscsb closed 1 month ago
src/layout/components/Sidebar/components/SidebarMenuItem.vue
<SidebarMenuItem v-for="child in item.children" :key="child.path" :is-nest="true" :item="child" :base-path="resolvePath(child.path)" /> 这是一个递归组件吗?
<SidebarMenuItem v-for="child in item.children" :key="child.path" :is-nest="true" :item="child" :base-path="resolvePath(child.path)" />
是的
src/layout/components/Sidebar/components/SidebarMenuItem.vue
<SidebarMenuItem v-for="child in item.children" :key="child.path" :is-nest="true" :item="child" :base-path="resolvePath(child.path)" />
这是一个递归组件吗?