From 445eb29d8786f3312ac1a39893eda7297fc4e0ea Mon Sep 17 00:00:00 2001 From: meo <18801474720@163.com> Date: Fri, 5 Jul 2019 11:22:56 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=BE=85=E6=94=AF=E4=BB=98][=E4=BF=AE?= =?UTF-8?q?=E6=94=B9]:[=E4=BF=AE=E6=94=B9=E5=BE=85=E6=94=AF=E4=BB=98?= =?UTF-8?q?=E7=9A=84=E8=AE=A2=E5=8D=95=E7=9A=84=E9=97=AE=E9=A2=98]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/order/detail/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/order/detail/index.js b/pages/order/detail/index.js index fb99185..97294ff 100644 --- a/pages/order/detail/index.js +++ b/pages/order/detail/index.js @@ -146,12 +146,12 @@ Page({ */ onLoad: function (options) { let that = this; - this.setData({ + that.setData({ orderId: options.orderId }); wx.hideShareMenu() if(options.cardIf){ - this.setData({ + that.setData({ cardIf:true }) } @@ -319,7 +319,7 @@ Page({ }) .then(res => { wx.hideLoading(); - this.setData({ + _this.setData({ showButton: false }) if (!type&&type!='free') {