From a24a5cac4605425e5ff7196487dfcf1484aa0963 Mon Sep 17 00:00:00 2001 From: liutong <836164388@qq.com> Date: Wed, 11 Jun 2025 17:22:54 +0800 Subject: [PATCH] =?UTF-8?q?refactor(components):=20=E4=BF=AE=E6=94=B9=20AQ?= =?UTF-8?q?Tabber=20=E7=BB=84=E4=BB=B6=E4=B8=AD=E7=9A=84=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E8=B7=B3=E8=BD=AC=E6=96=B9=E5=BC=8F-=20=E5=B0=86=20uni.navigat?= =?UTF-8?q?eTo=20=E6=9B=BF=E6=8D=A2=E4=B8=BA=20uni.redirectTo=EF=BC=8C?= =?UTF-8?q?=E5=85=B3=E9=97=AD=E5=BD=93=E5=89=8D=E9=A1=B5=E9=9D=A2=E8=B7=B3?= =?UTF-8?q?=E8=BD=AC=E5=88=B0=E6=96=B0=E9=A1=B5=E9=9D=A2=20-=20=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E9=A2=9D=E5=A4=96=E7=9A=84=20console.log=20=E8=AF=AD?= =?UTF-8?q?=E5=8F=A5=E4=BB=A5=E7=A1=AE=E8=AE=A4=E8=B7=B3=E8=BD=AC=E5=AE=8C?= =?UTF-8?q?=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/AQ/AQTabber.vue | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/components/AQ/AQTabber.vue b/components/AQ/AQTabber.vue index 87de67a..16c5e41 100644 --- a/components/AQ/AQTabber.vue +++ b/components/AQ/AQTabber.vue @@ -157,9 +157,13 @@ //跳转tabBar页面 uni.setStorageSync('tabBerIndex', e.index) console.log('qqq', e.urlPath) - uni.navigateTo({ - url: e.urlPath - }) + + //关闭当前页面跳转新页面 + uni.redirectTo({ + url: e.urlPath + }) + + console.log('qqq2,执行完了') }else{ this.show = true }