Browse Source

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

master
heyizhao 2 years ago
parent
commit
470c5a3bdd
  1. 4
      ruoyi-ui/src/components/Process/PropertyPanel.vue

4
ruoyi-ui/src/components/Process/PropertyPanel.vue

@ -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 => {

Loading…
Cancel
Save