Commit 702c24e24343ce5618783b852d43f1961531009d
Committed by
GitHub
1 parent
38a22c59
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 | } |