Vue 中取反

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

 

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