瀏覽代碼

我的优惠券

tags/2.2.4
Stormeye.Wu 6 年之前
父節點
當前提交
3d21062996
共有 1 個檔案被更改,包括 2 行新增1 行删除
  1. +2
    -1
      pages/coupons/index/index.js

+ 2
- 1
pages/coupons/index/index.js 查看文件

@@ -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…
取消
儲存