Merge pull request #2986 from iview/revert-2870-2.0
Revert "updateOpened时判断accordion"
This commit is contained in:
commit
92ba610c83
1 changed files with 0 additions and 3 deletions
|
@ -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;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue