forked from 77media/video-flow
轮询错了
This commit is contained in:
parent
e9986801ce
commit
d602dc49b6
@ -228,13 +228,15 @@ export function useWorkflowData({ onEditPlanGenerated, editingStatus }: UseWorkf
|
||||
if (isShowError) {
|
||||
window.msg.error('Too many failed storyboards, unable to execute automatic editing.', 8000);
|
||||
setCurrentLoadingText(LOADING_TEXT_MAP.toManyFailed);
|
||||
// 停止轮询
|
||||
setNeedStreamData(false);
|
||||
}
|
||||
if (editingStatus === 'error') {
|
||||
window.msg.error('Editing failed, Please click the edit button to go to the intelligent editing platform.', 8000);
|
||||
setCurrentLoadingText(LOADING_TEXT_MAP.editingError);
|
||||
// 停止轮询
|
||||
setNeedStreamData(false);
|
||||
}
|
||||
// 停止轮询
|
||||
setNeedStreamData(false);
|
||||
}, [isShowError, editingStatus]);
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user