From 5473662fbb168c083756a7017968c838c610a0c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8C=97=E6=9E=B3?= <7854742+wang_rumeng@user.noreply.gitee.com> Date: Fri, 22 Aug 2025 00:51:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20-=20=E7=BC=96=E8=BE=91?= =?UTF-8?q?=E6=8C=89=E9=92=AE=E7=82=B9=E5=87=BB=E6=B2=A1=E5=8F=8D=E5=BA=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/ui/shot-tab-content.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/ui/shot-tab-content.tsx b/components/ui/shot-tab-content.tsx index b97da86..2ded065 100644 --- a/components/ui/shot-tab-content.tsx +++ b/components/ui/shot-tab-content.tsx @@ -128,7 +128,7 @@ export const ShotTabContent = forwardRef< const updateData: VideoSegmentEntity[] = []; shotData.forEach((shot, index) => { const a = shot.videoUrl.map((url) => url.video_url).join(','); - const b = originalVideos[index].urls.join(','); + const b = originalVideos[index].urls?.join(',') || ''; if (a !== b) { updateData.push({ ...shot, @@ -327,7 +327,7 @@ export const ShotTabContent = forwardRef< whileHover={{ scale: 1.02 }} whileTap={{ scale: 0.98 }} > - {shot.urls.length > 0 && ( + {shot.urls && shot.urls.length > 0 && (