Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
d8851721
authored
Dec 27, 2024
by
GoldenZqqqq
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 移除了Simple编辑器使用流程名称作为第一个节点名称的逻辑
parent
eeda821b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
4 deletions
+1
-4
src/components/SimpleProcessDesignerV2/src/SimpleProcessDesigner.vue
+1
-4
No files found.
src/components/SimpleProcessDesignerV2/src/SimpleProcessDesigner.vue
View file @
d8851721
...
@@ -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
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment