Commit 679b2a2b8ec90f9da0a9e22138a181547c420cde
Committed by
GitHub

Merge pull request #3560 from mahp/patch-1
update menu.vue updateOpenKeys methods
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/components/menu/menu.vue
@@ -91,8 +91,8 @@ | @@ -91,8 +91,8 @@ | ||
91 | let i = names.indexOf(item.name); | 91 | let i = names.indexOf(item.name); |
92 | if (i >= 0) names.splice(i, 1); | 92 | if (i >= 0) names.splice(i, 1); |
93 | }); | 93 | }); |
94 | - names.push(name); | ||
95 | } | 94 | } |
95 | + names.push(name); | ||
96 | } | 96 | } |
97 | this.openedNames = names; | 97 | this.openedNames = names; |
98 | this.$emit('on-open-change', this.openedNames); | 98 | this.$emit('on-open-change', this.openedNames); |