修复从关注条转他人页面不对的问题

This commit is contained in:
张成
2025-11-08 13:12:18 +08:00
parent 463ec31bdf
commit 615c7cb718
2 changed files with 2 additions and 2 deletions

View File

@@ -100,7 +100,7 @@ const CommentReply = () => {
const handleUserClick = (e: any, userId: number) => {
e.stopPropagation(); // 阻止事件冒泡
Taro.navigateTo({
url: `/user_pages/other/index?user_id=${userId}`,
url: `/user_pages/other/index?userid=${userId}`,
});
};

View File

@@ -122,7 +122,7 @@ const NewFollow = () => {
// 处理点击用户
const handleUserClick = (userId: number) => {
Taro.navigateTo({
url: `/user_pages/other/index?user_id=${userId}`,
url: `/user_pages/other/index?userid=${userId}`,
});
};