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

Merge pull request !17 from 黑岩仔/master
rf
tony 2024-06-02 13:40:53 +00:00 committed by Gitee
commit d7a99f349b
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 3 additions and 1 deletions

View File

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