diff --git a/src/views/coupon_manage/add_coupon.vue b/src/views/coupon_manage/add_coupon.vue index d253a6d..017b797 100644 --- a/src/views/coupon_manage/add_coupon.vue +++ b/src/views/coupon_manage/add_coupon.vue @@ -324,7 +324,7 @@ export default { res.map(async item => { if (!await this.checkShop(item.id)) { this.form.products.push({ - id: item.id, + productId: item.id, name: item.name, num: null }) @@ -332,7 +332,7 @@ export default { }) } else { this.form.products.push({ - id: res[0].id, + productId: res[0].id, name: res[0].name, num: null })