From 84ab5998e3aace4965c990bfc7a4d694e8f58da3 Mon Sep 17 00:00:00 2001 From: xpz2018 <107107461@qq.com> Date: Thu, 27 May 2021 14:44:14 +0800 Subject: [PATCH] no message --- pages/login/index.js | 33 ++------------------------------- 1 file changed, 2 insertions(+), 31 deletions(-) diff --git a/pages/login/index.js b/pages/login/index.js index 6b5a5ff..d7e9068 100644 --- a/pages/login/index.js +++ b/pages/login/index.js @@ -26,8 +26,8 @@ Page({ loging: false, regist: false, metaData: null, - // code: null - code: '?mark=ztb_saas&QrCodeRecordId=595295714456768512' + code: null + // code: '?mark=ztb_saas&QrCodeRecordId=595295714456768512' }, /************************************** 初始化登录流程 ********************************************/ onLoad: function (options) { @@ -195,35 +195,6 @@ Page({ Dialog.alert({ title: '温馨提示', message: '还没有您所属的打包站信息,请联系相关客服人员' }).then(() => { }) } - // if(app.userInfo.factoryId && this.data.metaData){ - // Dialog.alert({ title: '温馨提示', message: '您已经绑定过工厂了,现在就进入?' }).then(() => { - // headerFactoryId(app.userInfo.factoryId) - // wx.redirectTo({ url: '/pages/index/index' }) - // }) - // } else if(this.data.metaData){ - // // 这里要进行账号的绑定,对工厂进行绑定;或者进行申请操作; - // if(this.data.metaData.qrPage == '/page/index/register'){ - // this.data.metaData.userName = this.data.metaData.factoryCustomerName || '默认姓名' - // } - // if(!util.isEmpty(this.data.metaData.factoryCustomerMobile)){ - // this.setData({ loging: false, metaData: this.data.metaData, ['form.account']: this.data.metaData.factoryCustomerMobile }) - // } else { - // this.setData({ loging: false, metaData: this.data.metaData }) - // } - // } else if(app.userInfo.factoryId){ - // this.setData({ loging: false}) - // if(!result.data.isSaasPerssion){ - // Dialog.alert({ title: '温馨提示', message: '您的打包站还在授权中,请耐心等待,或者联系相关客服人员' }).then(() => { - // }) - // return - // } - // headerFactoryId(app.userInfo.factoryId) - // wx.redirectTo({ url: '/pages/index/index' }) - // } else { - // this.setData({ loging: false}) - // Dialog.alert({ title: '温馨提示', message: '还没有您所属的打包站信息,请耐心等待,或者联系相关客服人员' }).then(() => { - // }) - // } }).catch(err => { console.log(err) if(err.code == 400){