diff --git a/app.js b/app.js index ade7531..6ddae6a 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', 'oLbv-IyJOia2tenh64_Lc8xeAzwgzu3gh1vFJ1Se-ME'], version: 152, diff --git a/pages/bank/create/index.js b/pages/bank/create/index.js index f9ba403..961a4e7 100644 --- a/pages/bank/create/index.js +++ b/pages/bank/create/index.js @@ -142,7 +142,6 @@ Page({ }) }, submitForm: function(){ - if (util.isEmpty(this.data.form.name)) { util.showToast('请输入持卡人姓名') return @@ -151,10 +150,10 @@ Page({ util.showToast('请输入银行卡卡号') return } - if (util.isEmpty(this.data.form.cardName)) { - util.showToast('输入银行卡卡号暂无信息,请重新输入银行卡卡号') - return - } + // if (util.isEmpty(this.data.form.cardName)) { + // util.showToast('输入银行卡卡号暂无信息,请重新输入银行卡卡号') + // return + // } // if (util.isEmpty(this.data.form.idno) && this.data.form.type == 4) { // util.showToast('请输入身份证号码') // return