Commit 9ecca829 by 高淑倩

modify: 优惠券列表时间显示

parent 2c437d61
...@@ -87,7 +87,12 @@ wxService.page({ ...@@ -87,7 +87,12 @@ wxService.page({
const {result,data} = res.data const {result,data} = res.data
if(result == 0){ if(result == 0){
wx.hideLoading() wx.hideLoading()
// 可使用 or 已失效 // 处理时间显示
data.content.forEach(item=> {
item.startTime = item.startTime.substring(0,10)
item.endTime = item.endTime.substring(0,10)
})
// 可使用 or 已失效
if(status == 1) { if(status == 1) {
// couponList // couponList
this.setData({ this.setData({
......
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