From 30c3fe19106fa7684df1b758b3da2a873676465d Mon Sep 17 00:00:00 2001 From: mtvpls Date: Sun, 8 Feb 2026 14:32:11 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=B3=E5=B0=86=E4=B8=8A=E6=98=A0=E6=81=A2?= =?UTF-8?q?=E5=A4=8D=E9=95=BF=E6=8C=89=E8=8F=9C=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/VideoCard.tsx | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/components/VideoCard.tsx b/src/components/VideoCard.tsx index d048f4e..524cf2d 100644 --- a/src/components/VideoCard.tsx +++ b/src/components/VideoCard.tsx @@ -382,11 +382,6 @@ const VideoCard = forwardRef(function VideoCard // 长按操作 const handleLongPress = useCallback(() => { - // 即将上映的电影不显示操作菜单 - if (isUpcoming) { - return; - } - if (!showMobileActions) { // 防止重复触发 // 立即显示菜单,避免等待数据加载导致动画卡顿 setShowMobileActions(true); @@ -396,7 +391,7 @@ const VideoCard = forwardRef(function VideoCard checkSearchFavoriteStatus(); } } - }, [isUpcoming, showMobileActions, from, isAggregate, actualSource, actualId, searchFavorited, checkSearchFavoriteStatus]); + }, [showMobileActions, from, isAggregate, actualSource, actualId, searchFavorited, checkSearchFavoriteStatus]); // 长按手势hook const longPressProps = useLongPress({ @@ -682,11 +677,6 @@ const VideoCard = forwardRef(function VideoCard e.preventDefault(); e.stopPropagation(); - // 即将上映的电影不显示操作菜单 - if (isUpcoming) { - return false; - } - // 右键弹出操作菜单 setShowMobileActions(true);