fix : 修复列表左侧选择框,及正确json格式

This commit is contained in:
2024-06-18 21:27:03 +08:00
parent 5100281c1f
commit 6ab1dc806e
8 changed files with 54 additions and 43 deletions

View File

@@ -402,7 +402,8 @@ const insertConditionsNode = (node) => {
props: deepCopy(DefaultProps.CONDITION_PROPS),
name: "条件1",
children: {}
}, {
},
{
id: getRandomId(),
parentId: node.id,
type: "CONDITION",
@@ -437,7 +438,8 @@ const insertConcurrentsNode = (node) => {
props: deepCopy(DefaultProps.CONDITION_PROPS),
name: "分支1",
children: {}
}, {
},
{
id: getRandomId(),
parentId: node.id,
type: "CONCURRENT",