From a60cf88c3c9e18e83f3c216eaf444c44c3e94763 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期一, 24 三月 2025 18:18:59 +0800 Subject: [PATCH] fix: 四期需求 --- apps/taro/src/custom-tab-bar/index.tsx | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/apps/taro/src/custom-tab-bar/index.tsx b/apps/taro/src/custom-tab-bar/index.tsx index e2b4683..0fcd2a6 100644 --- a/apps/taro/src/custom-tab-bar/index.tsx +++ b/apps/taro/src/custom-tab-bar/index.tsx @@ -72,8 +72,8 @@ loginTipShowed.value = true; Message.confirm({ message: '璇峰墠寰�鐧诲綍' }) .then(() => { - Taro.navigateTo({ - url: `${RouterPath.authorization}?redirect=${url}`, + RouteHelper.navigateTo({ + url: `${RouterPath.loginByForm}?redirect=${url}`, }); }) .finally(() => { @@ -83,7 +83,7 @@ return; } system.setTabIndex(index); - Taro.switchTab({ url }); + RouteHelper.switchTab({ url }); }; function goPublish() { @@ -92,8 +92,8 @@ loginTipShowed.value = true; Message.confirm({ message: '璇峰墠寰�鐧诲綍' }) .then(() => { - Taro.navigateTo({ - url: `${RouterPath.authorization}?redirect=${RouterPath.home}`, + RouteHelper.navigateTo({ + url: `${RouterPath.loginByForm}?redirect=${RouterPath.home}`, }); }) .finally(() => { @@ -103,7 +103,7 @@ return; } - // Taro.navigateTo({ + // RouteHelper.navigateTo({ // url: RouterPath.pulishCircleFriend, // }); } @@ -117,7 +117,7 @@ }} > <TarBarItem - text={'鎵惧伐浣�'} + text={'棣栭〉'} icon="../assets/tabbar/icon-home.png" activeIcon="../assets/tabbar/icon-home-active.png" pagePath={TabBarPageRouter.Home} -- Gitblit v1.9.1