wip
This commit is contained in:
parent
28710ed50a
commit
cf4dd8fb81
|
|
@ -108,7 +108,9 @@
|
|||
return !this.products.length ? false : this.products.every(s => s.selected)
|
||||
},
|
||||
set(val) {
|
||||
return this.products.map(e => e.selected = val)
|
||||
// return
|
||||
this.products.map(e => e.selected = val)
|
||||
this.selectedBtnSelected()
|
||||
}
|
||||
},
|
||||
},
|
||||
|
|
@ -154,7 +156,7 @@
|
|||
$.ajax({
|
||||
url: `/carts/select`,
|
||||
type: 'POST',
|
||||
data: {sku_ids: cart_ids},
|
||||
data: {cart_ids: cart_ids},
|
||||
success: function(res) {
|
||||
self.setUpdateData(res);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue