From 1b2a6d5acdac45b863876cdfd129f11e6af56608 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B6=85=E7=BA=A7=E8=80=81=E7=99=BD=E5=85=94?= Date: Tue, 23 Sep 2025 19:16:02 +0800 Subject: [PATCH] =?UTF-8?q?FEAT=20=3D>=20=E6=9C=AC=E6=AC=A1=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E9=A1=B9=E7=9B=AE=E4=B8=BA=EF=BC=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/pages/pc/ckbox/components/NavCommon/index.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Touchkebao/src/pages/pc/ckbox/components/NavCommon/index.tsx b/Touchkebao/src/pages/pc/ckbox/components/NavCommon/index.tsx index 114d8cbe..1e51421d 100644 --- a/Touchkebao/src/pages/pc/ckbox/components/NavCommon/index.tsx +++ b/Touchkebao/src/pages/pc/ckbox/components/NavCommon/index.tsx @@ -34,10 +34,10 @@ const NavCommon: React.FC = ({ title = "触客宝" }) => { // 处理菜单图标点击:在两个路由之间切换 const handleMenuClick = () => { const current = location.pathname; - if (current.startsWith("/pc/powerCenter")) { - navigate("/pc/weChat"); - } else { + if (current.startsWith("/pc/weChat")) { navigate("/pc/powerCenter"); + } else { + navigate("/pc/weChat"); } };