Commit d8851721 by GoldenZqqqq

feat: 移除了Simple编辑器使用流程名称作为第一个节点名称的逻辑

parent eeda821b
...@@ -84,7 +84,7 @@ let errorNodes: SimpleFlowNode[] = [] ...@@ -84,7 +84,7 @@ let errorNodes: SimpleFlowNode[] = []
const updateModel = (key?: string, name?: string) => { const updateModel = (key?: string, name?: string) => {
if (!processNodeTree.value) { if (!processNodeTree.value) {
processNodeTree.value = { processNodeTree.value = {
name: name || '发起人', name: '发起人',
type: NodeType.START_USER_NODE, type: NodeType.START_USER_NODE,
id: NodeId.START_USER_NODE_ID, id: NodeId.START_USER_NODE_ID,
childNode: { childNode: {
...@@ -93,9 +93,6 @@ const updateModel = (key?: string, name?: string) => { ...@@ -93,9 +93,6 @@ const updateModel = (key?: string, name?: string) => {
type: NodeType.END_EVENT_NODE type: NodeType.END_EVENT_NODE
} }
} }
} else if (name) {
// 更新现有模型的名称
processNodeTree.value.name = name
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment