Commit 391c5bd2 authored by jiangjiantao's avatar jiangjiantao

接口 bugfix

parent 607a6a3b
...@@ -29,10 +29,9 @@ Page({ ...@@ -29,10 +29,9 @@ Page({
}) })
} }
//暂时没有优惠
if (totalPrice != null) { if (totalPrice != null) {
this.setData({ this.setData({
payPrice: totalPrice, payPrice: totalPrice - totalDisc,
totalPrice: totalPrice, totalPrice: totalPrice,
couponPrice: totalDisc, couponPrice: totalDisc,
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment