From 41c75718a9dc3a96d96de6257bf995dca8edfc09 Mon Sep 17 00:00:00 2001 From: xpz2018 <107107461@qq.com> Date: Mon, 16 Aug 2021 09:49:40 +0800 Subject: [PATCH] no message --- app.js | 2 +- pages/home/certificate/index.js | 2 +- pages/withdrawal/vcheckout/index.js | 3 --- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/app.js b/app.js index deb5377..0deeeec 100644 --- a/app.js +++ b/app.js @@ -1,7 +1,7 @@ //app.js App({ //----------------------------------------------globalData-------------------------------------- - evn: 0,//0:开发环境,1:测试环境,2:生产环境 + evn: 1,//0:开发环境,1:测试环境,2:生产环境 tmplIds: ['SUjEgwDopCv9xkkSZ4KbS0L7XbAiVQor6GmPg14K760'], agentMsgIds: ['kG8DErWDpyzBHCFaLlSKYMF7xVy8UpgogCwV_WSNt10', 'lOQ8Gvyy_dTk68bYGpRVnVA0M7DsYYrV81Gd39GUPBA'], version: 152, diff --git a/pages/home/certificate/index.js b/pages/home/certificate/index.js index 4989fa4..a9a3a85 100644 --- a/pages/home/certificate/index.js +++ b/pages/home/certificate/index.js @@ -127,7 +127,7 @@ Page({ }) result.data.enterpriseName = result.data.name checkLicense(result.data).then(res => { - if(res.data.checkStatus != 0){ + if(Number(res.data.checkStatus) != 0){ this.setData({ editable : false }) } wx.hideLoading() diff --git a/pages/withdrawal/vcheckout/index.js b/pages/withdrawal/vcheckout/index.js index dacf824..61c4f54 100644 --- a/pages/withdrawal/vcheckout/index.js +++ b/pages/withdrawal/vcheckout/index.js @@ -27,9 +27,6 @@ Page({ onLoad: function (options) { this.pickerView = this.pickerView || this.selectComponent('#picker-view') this.setData({ safeBottom: app.globalData.safeBottom }) - }, - - onShow: function () { this.getUserInfo() getBankCardList().then(res => { var list = []