fix(SidebarItem.vue): 修改meta属性名错写成mata的问题

Former-commit-id: 36b2e026063ef37b14827576448acce365489c8c
This commit is contained in:
郝先瑞
2022-04-18 13:07:40 +08:00
parent af7162b88c
commit da3c1dcf0c

View File

@@ -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)