From 9c680ea2c5938d26065232d3a658a9a615e1f827 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期四, 13 三月 2025 16:39:14 +0800
Subject: [PATCH] fix: 修改导航 在路由上强制增加channelId

---
 apps/taro/src/custom-tab-bar/index.tsx |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/apps/taro/src/custom-tab-bar/index.tsx b/apps/taro/src/custom-tab-bar/index.tsx
index 75fffca..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,
       // });
     }

--
Gitblit v1.9.1