Commit 8b63b737 by 高淑倩

add: 优惠券初始化

parent 5a749ff2
...@@ -51,7 +51,6 @@ wxService.page({ ...@@ -51,7 +51,6 @@ wxService.page({
// invalidCouponList: [], // invalidCouponList: [],
}) })
} }
// 可使用 // 可使用
if( current == 0 ){ if( current == 0 ){
this.getCouponList(1,10,1) this.getCouponList(1,10,1)
...@@ -68,7 +67,9 @@ wxService.page({ ...@@ -68,7 +67,9 @@ wxService.page({
* 生命周期函数--监听页面显示 * 生命周期函数--监听页面显示
*/ */
onShow () { onShow () {
// 可使用 已失效
this.getCouponList(1,10,1) this.getCouponList(1,10,1)
this.getCouponList(1,10,0)
}, },
handelPresentCouponCode(e) { handelPresentCouponCode(e) {
let data = e.currentTarget.dataset let data = e.currentTarget.dataset
......
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