Fix(购物车):[#1313]购物车点击全选后,取消选择部分商品,全选按钮仍然被勾选
This commit is contained in:
@@ -330,6 +330,13 @@ export default {
|
||||
})
|
||||
this.list[mark[0]]['state'] = count === length
|
||||
}
|
||||
let shopCheckNumber = 0
|
||||
this.list.map(item => {
|
||||
if (item.state) {
|
||||
shopCheckNumber++
|
||||
}
|
||||
})
|
||||
this.isAll = shopCheckNumber === this.list.length
|
||||
},
|
||||
changeNumHandle(index, gIndex, good, e) {
|
||||
const { type } = e
|
||||
|
||||
Reference in New Issue
Block a user