Browse Source

我的优惠券

tags/2.2.4
Stormeye.Wu 6 years ago
parent
commit
3d21062996
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      pages/coupons/index/index.js

+ 2
- 1
pages/coupons/index/index.js View File

@@ -30,6 +30,7 @@ Page({
this.getList(0)
},
getList(key) {
var that = this
Http.get({
url: config.api.couponOrderList,
data: {
@@ -43,7 +44,7 @@ Page({
res.data.list.map(file => {
file.expiredTime = format.formatTime(file.expiredTime, 'yyyy-MM-dddd hh:mm:ss')
})
this.setData({
that.setData({
list: res.data.list
})
},function(error){


Loading…
Cancel
Save