From 9ba47f26c39e28bb028aa33785220f3a4817623d 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: Mon, 13 Oct 2025 19:31:45 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=BC=E5=AE=B9=E6=B0=B4=E5=8D=B0=E6=95=B0?= =?UTF-8?q?=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/pages/work-flow/use-workflow-data.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/pages/work-flow/use-workflow-data.tsx b/components/pages/work-flow/use-workflow-data.tsx index c467aa3..e132f79 100644 --- a/components/pages/work-flow/use-workflow-data.tsx +++ b/components/pages/work-flow/use-workflow-data.tsx @@ -325,7 +325,7 @@ export function useWorkflowData({}: UseWorkflowDataProps = {}) { if (task.task_status === 'COMPLETED') { taskCurrent.currentStage = 'final_video'; const videoUrl = task.task_result.video_url; - taskCurrent.final.url = typeof videoUrl === 'object' + taskCurrent.final.url = (videoUrl && typeof videoUrl === 'object') ? videoUrl.result?.watermarked_url : videoUrl; taskCurrent.final.note = 'watermark';