[Fix][UI Next][V1.0.0-Alpha] Fix workflow duplicate key error bug (#8782)

This commit is contained in:
Devosend 2022-03-09 22:16:33 +08:00 committed by GitHub
parent 6a02b15e40
commit 5ca886fdd1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -124,6 +124,7 @@ export function useTaskEdit(options: Options) {
setNodeName(task.code + '', taskDef.name)
return {
...taskDef,
version: task.version,
code: task.code,
taskType: currTask.value.taskType
}