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 && ( -
+
@@ -603,7 +603,7 @@ export const MediaViewer = React.memo(function MediaViewer({
)} {currentSketch.status === 2 && ( -
+
diff --git a/components/pages/work-flow/thumbnail-grid.tsx b/components/pages/work-flow/thumbnail-grid.tsx index d5e45a4..81acce2 100644 --- a/components/pages/work-flow/thumbnail-grid.tsx +++ b/components/pages/work-flow/thumbnail-grid.tsx @@ -197,7 +197,7 @@ export function ThumbnailGrid({
)} {taskObject.videos.data[index].video_status === 2 && ( -
+
@@ -281,7 +281,7 @@ export function ThumbnailGrid({
)} {sketch.status === 2 && ( -
+