|
@@ -50,9 +50,8 @@ export default {
|
|
|
if (this.userList[index].indexOf(indexs) > -1) {
|
|
|
this.userList[index].splice(this.userList[index].indexOf(indexs), 1);
|
|
|
} else {
|
|
|
- // this.userList[index] = []
|
|
|
- this.userList[index].push(indexs);
|
|
|
- console.log(this.userList[index])
|
|
|
+ // this.userList[index].push(indexs);
|
|
|
+ this.$set(this.userList, index, [indexs]);
|
|
|
}
|
|
|
},
|
|
|
handleClear(index) {
|