Commit 26189937 by sunerhu

1.修改了一些Bug

parent deff9dd0
...@@ -68,8 +68,11 @@ ...@@ -68,8 +68,11 @@
} }
if(common.mobileNoValid(this.form.mobile) && !this.disabledSendBtn){ if(common.mobileNoValid(this.form.mobile) && !this.disabledSendBtn){
api.verificationCode(params).then((res)=>{ api.verificationCode(params).then((res)=>{
console.log(res, 'asdasd')
if(res['success']){ if(res['success']){
uni.setStorageSync('isLogin','1') uni.setStorageSync('isLogin','1')
uni.setStorageSync('cffp_userId',this.userId);
uni.setStorageSync('loginType',this.loginType)
this.delayTime() this.delayTime()
} }
}) })
......
...@@ -248,10 +248,10 @@ ...@@ -248,10 +248,10 @@
if (res['success']) { if (res['success']) {
// this.switchTab(2) // this.switchTab(2)
this.shareId = res.data.id this.shareId = res.data.id
this.$refs.share.open() // this.$refs.share.open()
// uni.navigateTo({ uni.navigateTo({
// url: '/pages/invitationRegister/invitationRegister?shareId=' + this.shareId url: '/pages/invitationRegister/invitationRegister?shareId=' + this.shareId
// }) })
} }
uni.showToast({ uni.showToast({
title: res['message'], title: res['message'],
......
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