update Menu
update Menu
This commit is contained in:
parent
e05d728978
commit
0acdae1983
5 changed files with 157 additions and 31 deletions
|
@ -73,6 +73,10 @@
|
|||
}
|
||||
}
|
||||
})
|
||||
} else if (item.$options.name === 'MenuGroup') {
|
||||
item.$children.forEach(groupItem => {
|
||||
groupItem.active = groupItem.key === this.activeKey;
|
||||
})
|
||||
} else {
|
||||
item.active = item.key === this.activeKey;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue