diff --git a/src/project/fengdu/AppMine/userInfo.vue b/src/project/fengdu/AppMine/userInfo.vue index 6ba0271..089e87a 100644 --- a/src/project/fengdu/AppMine/userInfo.vue +++ b/src/project/fengdu/AppMine/userInfo.vue @@ -158,13 +158,20 @@ export default { this.$u.toast('提亀成功') this.autoLogin({ loginWay:'qujing'}) uni.$emit('auth') - setTimeout(() => { - if(this.isFromTabbar==1) { - uni.switchTab({ url: this.path}) - } else { + if (this.isFromTabbar == 1) { + console.log('111') + setTimeout(() => { + console.log('222') + uni.switchTab({ + url: this.path + }) + }, 600); + } else { + setTimeout(() => { uni.navigateBack() - } - }, 600); + }, 600); + } + } }).catch(err=> { this.$u.toast(err.msg)