This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
weapp
/
C
Watch
8
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
66
Wiki
Activity
Browse Source
我的优惠券
tags/2.2.4
Stormeye.Wu
6 years ago
parent
64f67e2c0b
commit
3d21062996
1 changed files
with
2 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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')
})
th
is
.setData({
th
at
.setData({
list: res.data.list
})
},function(error){
Write
Preview
Loading…
Cancel
Save