forked from 77media/video-flow
修复暂停继续
This commit is contained in:
parent
ed4dff0c93
commit
692a6fdd8d
@ -119,7 +119,7 @@ export function useWorkflowData() {
|
|||||||
}, [scriptBlocksMemo]);
|
}, [scriptBlocksMemo]);
|
||||||
// 监听继续 请求更新数据
|
// 监听继续 请求更新数据
|
||||||
useUpdateEffect(() => {
|
useUpdateEffect(() => {
|
||||||
if (taskObject.status !== 'IN_PROGRESS') {
|
if (taskObject.status === 'COMPLETED' || taskObject.status === 'FAILED') {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (isPauseWorkFlow) {
|
if (isPauseWorkFlow) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user