From 9a77f6a14d638b356698b40a9677c77842637653 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, 8 Sep 2025 15:10:29 +0800 Subject: [PATCH] isShowError --- components/pages/work-flow.tsx | 5 +++-- components/pages/work-flow/use-workflow-data.tsx | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/components/pages/work-flow.tsx b/components/pages/work-flow.tsx index 0de4dad..15cdd8b 100644 --- a/components/pages/work-flow.tsx +++ b/components/pages/work-flow.tsx @@ -95,7 +95,8 @@ const WorkFlow = React.memo(function WorkFlow() { originalText, showGotoCutButton, generateEditPlan, - handleRetryVideo + handleRetryVideo, + isShowError } = useWorkflowData({ onEditPlanGenerated: handleEditPlanGenerated }); @@ -260,7 +261,7 @@ const WorkFlow = React.memo(function WorkFlow() { {/* AI剪辑按钮 - 当可以跳转剪辑时显示 */} { - showGotoCutButton && ( + showGotoCutButton && !isShowError && (