let eventBus = bpmnModeler.get('eventBus')
console.log('eventBus',eventBus)
打印出bpmn所有可以绑定的事件
绑定事件:
bpmnModeler.on('shape.added', (event)=>{
console.log('----',event)
})
let eventBus = bpmnModeler.get('eventBus')
console.log('eventBus',eventBus)
打印出bpmn所有可以绑定的事件
绑定事件:
bpmnModeler.on('shape.added', (event)=>{
console.log('----',event)
})