From 0224735fb1cba46f6549adfa1f60ffd6b5041b72 Mon Sep 17 00:00:00 2001 From: wupengfei <834520024@qq.com> Date: 星期三, 21 五月 2025 16:13:45 +0800 Subject: [PATCH] feat: UI --- apps/taro/src/custom-tab-bar/index.tsx | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/taro/src/custom-tab-bar/index.tsx b/apps/taro/src/custom-tab-bar/index.tsx index 4c50faf..0fcd2a6 100644 --- a/apps/taro/src/custom-tab-bar/index.tsx +++ b/apps/taro/src/custom-tab-bar/index.tsx @@ -72,7 +72,7 @@ loginTipShowed.value = true; Message.confirm({ message: '璇峰墠寰�鐧诲綍' }) .then(() => { - Taro.navigateTo({ + RouteHelper.navigateTo({ url: `${RouterPath.loginByForm}?redirect=${url}`, }); }) @@ -83,7 +83,7 @@ return; } system.setTabIndex(index); - Taro.switchTab({ url }); + RouteHelper.switchTab({ url }); }; function goPublish() { @@ -92,7 +92,7 @@ loginTipShowed.value = true; Message.confirm({ message: '璇峰墠寰�鐧诲綍' }) .then(() => { - Taro.navigateTo({ + RouteHelper.navigateTo({ url: `${RouterPath.loginByForm}?redirect=${RouterPath.home}`, }); }) @@ -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