fix:修复bpmn:SequenceFlow切换时panel不更新的问题

rf
heyizhao 2024-05-17 09:56:54 +08:00
parent f4b69ac55a
commit 470c5a3bdd
1 changed files with 3 additions and 1 deletions

View File

@ -122,7 +122,9 @@ export default {
if (element.type === 'bpmn:Process' if (element.type === 'bpmn:Process'
|| element.type === 'bpmn:SequenceFlow' || element.type === 'bpmn:SequenceFlow'
|| element.type === 'bpmn:EndEvent' ) { || element.type === 'bpmn:EndEvent' ) {
this.element = element this.$nextTick().then(() => {
this.element = element
})
} }
}) })
this.modeler.on('selection.changed', e => { this.modeler.on('selection.changed', e => {