update 优化 代码中存在的警告

This commit is contained in:
疯狂的狮子Li
2023-11-30 11:13:29 +08:00
parent 5c701801db
commit e1023bb331
6 changed files with 15 additions and 10 deletions

View File

@ -18,8 +18,8 @@
</template>
<sidebar-item
v-for="(child) in item.children as RouteOption[]"
:key="child.path"
v-for="(child, index) in item.children"
:key="child.path + index"
:is-nest="true"
:item="child"
:base-path="resolvePath(child.path)"