浏览代码

etcp初始化

tags/2.2.4
Stormeye.Wu 6 年前
父节点
当前提交
3259e4d880
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      pages/passCar/passCar.js

+ 2
- 2
pages/passCar/passCar.js 查看文件

@@ -25,6 +25,7 @@ Page({
}, },
onLoad: function(options) { onLoad: function(options) {
var that = this; var that = this;
that.init();
that.getList(); that.getList();
}, },


@@ -139,7 +140,6 @@ Page({
couponOrderStatus: 0 couponOrderStatus: 0
} }
}).then(res => { }).then(res => {
that.init();
that.setData({ that.setData({
couponList: res.data.list couponList: res.data.list
}); });
@@ -182,7 +182,7 @@ Page({
wx.showModal({ wx.showModal({
title: "提示", title: "提示",
showCancel: false, showCancel: false,
content: error.data.message,
content: error.message,
success: function() {} success: function() {}
}); });
}); });


正在加载...
取消
保存