FEAT => 本次更新项目为:

This commit is contained in:
超级老白兔
2025-09-23 19:16:02 +08:00
parent c32ff2cf29
commit 1b2a6d5acd

View File

@@ -34,10 +34,10 @@ const NavCommon: React.FC<NavCommonProps> = ({ 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");
}
};