Commit 26189937 by sunerhu

1.修改了一些Bug

parent deff9dd0
......@@ -68,8 +68,11 @@
}
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()
}
})
......
......@@ -248,10 +248,10 @@
if (res['success']) {
// this.switchTab(2)
this.shareId = res.data.id
this.$refs.share.open()
// uni.navigateTo({
// url: '/pages/invitationRegister/invitationRegister?shareId=' + this.shareId
// })
// this.$refs.share.open()
uni.navigateTo({
url: '/pages/invitationRegister/invitationRegister?shareId=' + this.shareId
})
}
uni.showToast({
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