Vue 中取反

 this.selected = list.filter(x => !this.selected.includes(x));

 

posted @ 2021-10-08 00:21  lunawzh  阅读(1441)  评论(0)    收藏  举报