Commit 624594bb by YunaiV

BPM:处理打开 bpmn 设计器时,key 和 name 覆盖更新

parent eed7bb2e
......@@ -139,6 +139,14 @@ const updateBaseInfo = (key) => {
}
}
onMounted(() => {
// 针对上传的 bpmn 流程图时,需要延迟 1 毫秒的时间,保证 key 和 name 的更新
setTimeout(() => {
handleKeyUpdate(props.model.key)
handleNameUpdate(props.model.name)
}, 110)
})
watch(
() => props.businessObject,
(val) => {
......
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