为自动切分工作流增加忙碌保护
统一直接调用入口的并发防护,避免状态锁冲突。
This commit is contained in:
@@ -1045,7 +1045,7 @@ export function useUiEditorSession(
|
||||
}
|
||||
|
||||
async function runSeparationWorkflow() {
|
||||
if (!resourceId) return;
|
||||
if (!resourceId || isWorkflowBusy) return;
|
||||
setIsSeparating(true);
|
||||
setSeparationStatus(null);
|
||||
setCompletionNotice(null);
|
||||
|
||||
Reference in New Issue
Block a user