fixed Menu bug in 2.5.16
This commit is contained in:
parent
2e018fc7b5
commit
b71a171d36
2 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ export default {
|
|||
},
|
||||
computed: {
|
||||
hasParentSubmenu () {
|
||||
return findComponentUpward(this, 'Submenu');
|
||||
return !!findComponentUpward(this, 'Submenu');
|
||||
},
|
||||
parentSubmenuNum () {
|
||||
return findComponentsUpward(this, 'Submenu').length;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue