This commit is contained in:
Aresn 2017-06-09 17:35:18 +08:00
parent 55dbf62d68
commit a8a03995fa
2 changed files with 43 additions and 44 deletions

View file

@ -81,6 +81,10 @@
this.openNames.splice(index, 1);
} else {
this.openNames.push(name);
if (this.accordion) {
this.openNames.splice(0, this.openNames.length);
this.openNames.push(name);
}
}
},
updateOpened () {