Quellcode durchsuchen

我的优惠券

tags/2.2.4
Stormeye.Wu vor 6 Jahren
Ursprung
Commit
3d21062996
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  1. +2
    -1
      pages/coupons/index/index.js

+ 2
- 1
pages/coupons/index/index.js Datei anzeigen

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


Laden…
Abbrechen
Speichern