fix: Workflow save before publish

This commit is contained in:
zhangzhanwei 2025-12-03 15:10:02 +08:00
parent 1f558eca34
commit 1cd0e9f269

View File

@ -315,7 +315,7 @@ const publish = () => {
return
}
loadSharedApi({ type: 'knowledge', systemType: apiType.value })
.putKnowledge(id, { work_flow: workflow })
.putKnowledgeWorkflow(id, { work_flow: workflow })
.then(() => {
return loadSharedApi({ type: 'knowledge', systemType: apiType.value }).publish(
id,