fix(SidebarItem.vue): 修改meta属性名错写成mata的问题
Former-commit-id: 36b2e026063ef37b14827576448acce365489c8c
This commit is contained in:
@@ -62,7 +62,7 @@ function hasOneShowingChild(children = [] as any, parent: any) {
|
|||||||
children = [];
|
children = [];
|
||||||
}
|
}
|
||||||
const showingChildren = children.filter((item: any) => {
|
const showingChildren = children.filter((item: any) => {
|
||||||
if (item.mata && item.mata.hidden) {
|
if (item.meta && item.meta.hidden) {
|
||||||
return false
|
return false
|
||||||
} else {
|
} else {
|
||||||
// Temp set(will be used if only has one showing child)
|
// Temp set(will be used if only has one showing child)
|
||||||
|
|||||||
Reference in New Issue
Block a user