Commit 94c3a61b by sunerhu

1.修改了一些Bug

parent 26189937
......@@ -68,11 +68,7 @@
}
if(common.mobileNoValid(this.form.mobile) && !this.disabledSendBtn){
api.verificationCode(params).then((res)=>{
console.log(res, 'asdasd')
if(res['success']){
uni.setStorageSync('isLogin','1')
uni.setStorageSync('cffp_userId',this.userId);
uni.setStorageSync('loginType',this.loginType)
this.delayTime()
}
})
......@@ -119,7 +115,10 @@
}
api.loginVerification(params).then((res)=>{
if(res['success']){
console.log(res, 5454)
this.userId = String(res['data']['userId']);
uni.setStorageSync('isLogin','1')
uni.setStorageSync('cffp_userId',this.userId);
uni.navigateTo({
url:'/pages/application-process/basic-info?userId=' + this.userId
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment