vue中的全选案列和单选案列
单选
this.allCheck = this.goodsList.every(item=>item.checked
全选
this.goodsList.map(item=>item.checked=this.allCheck)
加班万岁!
单选
this.allCheck = this.goodsList.every(item=>item.checked
全选
this.goodsList.map(item=>item.checked=this.allCheck)