瀏覽代碼

etcp初始化

tags/2.2.4
Stormeye.Wu 7 年之前
父節點
當前提交
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() {}
}); });
}); });


Loading…
取消
儲存