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
624594bb
authored
Mar 24, 2024
by
YunaiV
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BPM:处理打开 bpmn 设计器时,key 和 name 覆盖更新
parent
eed7bb2e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
src/components/bpmnProcessDesigner/package/penal/base/ElementBaseInfo.vue
+8
-0
No files found.
src/components/bpmnProcessDesigner/package/penal/base/ElementBaseInfo.vue
View file @
624594bb
...
@@ -139,6 +139,14 @@ const updateBaseInfo = (key) => {
...
@@ -139,6 +139,14 @@ const updateBaseInfo = (key) => {
}
}
}
}
onMounted
(()
=>
{
// 针对上传的 bpmn 流程图时,需要延迟 1 毫秒的时间,保证 key 和 name 的更新
setTimeout
(()
=>
{
handleKeyUpdate
(
props
.
model
.
key
)
handleNameUpdate
(
props
.
model
.
name
)
},
110
)
})
watch
(
watch
(
()
=>
props
.
businessObject
,
()
=>
props
.
businessObject
,
(
val
)
=>
{
(
val
)
=>
{
...
...
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