Commit 92ba610c83c4a87f584039814fc0347e1ac065af
Committed by
GitHub
Merge pull request #2986 from iview/revert-2870-2.0
Revert "updateOpened时判断accordion"
Showing
1 changed file
with
0 additions
and
3 deletions
Show diff stats
src/components/menu/menu.vue
@@ -99,9 +99,6 @@ | @@ -99,9 +99,6 @@ | ||
99 | 99 | ||
100 | if (items.length) { | 100 | if (items.length) { |
101 | items.forEach(item => { | 101 | items.forEach(item => { |
102 | - if (this.accordion) { | ||
103 | - item.opened = false; | ||
104 | - } | ||
105 | if (this.openNames.indexOf(item.name) > -1) item.opened = true; | 102 | if (this.openNames.indexOf(item.name) > -1) item.opened = true; |
106 | }); | 103 | }); |
107 | } | 104 | } |