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 = [];
|
||||
}
|
||||
const showingChildren = children.filter((item: any) => {
|
||||
if (item.mata && item.mata.hidden) {
|
||||
if (item.meta && item.meta.hidden) {
|
||||
return false
|
||||
} else {
|
||||
// Temp set(will be used if only has one showing child)
|
||||
|
||||
Reference in New Issue
Block a user