|
|
@@ -239,7 +239,7 @@ export default {
|
|
|
// this.list[index].collect = 0;
|
|
|
this.$set(this.list[index], 'collect', 0)
|
|
|
}
|
|
|
- homeApi.collect({ market_id: item.id }).then(res => {
|
|
|
+ homeApi.collect({ market_id: item.product_id }).then(res => {
|
|
|
if (res.code == 200) {
|
|
|
} else {
|
|
|
this.$toast(res.msg);
|