Merge pull request #2986 from iview/revert-2870-2.0

Revert "updateOpened时判断accordion"
This commit is contained in:
Aresn 2018-02-05 17:10:38 +08:00 committed by GitHub
commit 92ba610c83
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -99,9 +99,6 @@
if (items.length) { if (items.length) {
items.forEach(item => { items.forEach(item => {
if (this.accordion) {
item.opened = false;
}
if (this.openNames.indexOf(item.name) > -1) item.opened = true; if (this.openNames.indexOf(item.name) > -1) item.opened = true;
}); });
} }