0👍
Due to Vue’s limited reactivity in Arrays and Objects you have to reassign those in order to work.
Try this:
methods: {
expandItem(item) {
this.expanded = [...this.expanded, item];
}
},
Source:stackexchange.com
0👍
Due to Vue’s limited reactivity in Arrays and Objects you have to reassign those in order to work.
Try this:
methods: {
expandItem(item) {
this.expanded = [...this.expanded, item];
}
},