瀏覽代碼

缺陷修改

lsx 2 年之前
父節點
當前提交
a22e412561
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      src/packagePrize/goods/index.vue

+ 6 - 0
src/packagePrize/goods/index.vue

@@ -159,6 +159,12 @@
 							...res.data,
 							...this.info,
 							picUrl: env.filePublic + res.data.goodsPicUrl.split(',')[0],
+							couponTitle: res.data && res.data.couponList && res.data.couponList.length &&
+								res
+								.data.couponList[0].title,
+							couponId: res.data && res.data.couponList && res.data.couponList.length && res
+								.data
+								.couponList[0].id
 						}
 						this.payInfo = info
 						this.payShow = true