From f89f142e8cb44a29c34e814d5ebeb6ee613aef76 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: Tue, 9 Sep 2025 23:02:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 9 +++++---- components/pages/work-flow.tsx | 4 ++-- components/pages/work-flow/media-viewer.tsx | 4 ++-- components/pages/work-flow/thumbnail-grid.tsx | 4 ++-- 4 files changed, 11 insertions(+), 10 deletions(-) diff --git a/.env.development b/.env.development index 679a00c..e9bd8c3 100644 --- a/.env.development +++ b/.env.development @@ -1,9 +1,10 @@ -NEXT_PUBLIC_JAVA_URL = https://77.app.java.auth.qikongjian.com -NEXT_PUBLIC_BASE_URL = https://77.smartvideo.py.qikongjian.com +# NEXT_PUBLIC_JAVA_URL = https://77.app.java.auth.qikongjian.com +# NEXT_PUBLIC_BASE_URL = https://77.smartvideo.py.qikongjian.com +# NEXT_PUBLIC_CUT_URL = https://smartcut.movieflow.ai +NEXT_PUBLIC_JAVA_URL = https://auth.movieflow.ai +NEXT_PUBLIC_BASE_URL = https://api.video.movieflow.ai NEXT_PUBLIC_CUT_URL = https://smartcut.movieflow.ai -# NEXT_PUBLIC_JAVA_URL = https://test.java.movieflow.ai -# NEXT_PUBLIC_BASE_URL = https://test.video.movieflow.ai # 失败率 NEXT_PUBLIC_ERROR_CONFIG = 0.1 \ No newline at end of file diff --git a/components/pages/work-flow.tsx b/components/pages/work-flow.tsx index 1d98d3d..8678743 100644 --- a/components/pages/work-flow.tsx +++ b/components/pages/work-flow.tsx @@ -61,15 +61,15 @@ const WorkFlow = React.memo(function WorkFlow() { description: 'Performing intelligent editing...', successDescription: 'Editing successful', timeoutDescription: 'Editing failed. Please click the edit button to go to the smart editing platform.', - timeout: 5 * 60 * 1000, + timeout: 8 * 60 * 1000, key: editingNotificationKey.current, onFail: () => { console.log('Editing failed'); // 清缓存 生成计划 视频重新分析 localStorage.removeItem(`isLoaded_plan_${episodeId}`); - setEditingStatus('error'); // 3秒后关闭通知 setTimeout(() => { + setEditingStatus('error'); if (editingNotificationKey.current) { notification.destroy(editingNotificationKey.current); } diff --git a/components/pages/work-flow/media-viewer.tsx b/components/pages/work-flow/media-viewer.tsx index a9388ad..6aa656f 100644 --- a/components/pages/work-flow/media-viewer.tsx +++ b/components/pages/work-flow/media-viewer.tsx @@ -449,7 +449,7 @@ export const MediaViewer = React.memo(function MediaViewer({ )} {/* 生成失败 */} {taskObject.videos.data[currentSketchIndex].video_status === 2 && ( -