From 3259e4d8803c086d506257a3a5d22e1f3e4de5d1 Mon Sep 17 00:00:00 2001 From: "Stormeye.Wu" Date: Wed, 12 Sep 2018 16:21:10 +0800 Subject: [PATCH] =?UTF-8?q?etcp=E5=88=9D=E5=A7=8B=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/passCar/passCar.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/passCar/passCar.js b/pages/passCar/passCar.js index 23b9749..abe5004 100644 --- a/pages/passCar/passCar.js +++ b/pages/passCar/passCar.js @@ -25,6 +25,7 @@ Page({ }, onLoad: function(options) { var that = this; + that.init(); that.getList(); }, @@ -139,7 +140,6 @@ Page({ couponOrderStatus: 0 } }).then(res => { - that.init(); that.setData({ couponList: res.data.list }); @@ -182,7 +182,7 @@ Page({ wx.showModal({ title: "提示", showCancel: false, - content: error.data.message, + content: error.message, success: function() {} }); });