fix: 去除调试代码

This commit is contained in:
2025-10-03 14:40:23 +08:00
parent 5fec10b342
commit 0b7256c967

View File

@@ -542,8 +542,8 @@ function StickyButton(props) {
return;
}
const displayPrice = is_organizer ? 0 : price;
user_action_status.can_assess = true;
user_action_status.can_join = false;
// user_action_status.can_assess = true;
// user_action_status.can_join = false;
// console.log(user_action_status, "user_action");
const {
can_assess,
@@ -1344,7 +1344,7 @@ function Index() {
const [currentLocation, setCurrentLocation] = useState<[number, number]>([
0, 0,
]);
const { id, from } = params;
const { id, from, message_id } = params;
const [userInfo, setUserInfo] = useState({}); // 组织者的userInfo
const { fetchUserInfo } = useUserActions(); // 获取登录用户的userInfo
const myInfo = useUserInfo();
@@ -1513,6 +1513,7 @@ function Index() {
<Comments
ref={commentRef}
game_id={Number(id)}
message_id={message_id}
publisher_id={Number(detail.publisher_id)}
/>
{/* sticky bottom action bar */}