📅  最后修改于: 2022-03-11 15:03:47.239000             🧑  作者: Mango
clicked (value) {
const index = this.expanded.indexOf(value)
if (index === -1) {
this.expanded.push(value)
} else {
this.expanded.splice(index, 1)
}
},