From c6c7acc2205b5bfee9e2fc1c6cc34b8a5dcacce5 Mon Sep 17 00:00:00 2001 From: shijingjing <1789544664@qq.com> Date: Tue, 21 Mar 2023 15:54:37 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E4=B8=80=E4=B8=8B=E5=BB=B6?= =?UTF-8?q?=E6=97=B6=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/project/fengdu/AppMine/userInfo.vue | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) 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)