const canvas = this.$refs.canvas
if (this.editFlag === ‘view’) {
// 生成实例
this.bpmnModeler = new BpmnViewer({
container: canvas
})
} else {
// 生成实例
this.bpmnModeler = new BpmnModeler({
container: canvas,
additionalModules: this.additionalModules,
})
}
Could you explain your issue in a structured and detailed manner, so anyone has a fair chance to understand your use case?
If you are stuck with a particular problem, provide the necessary context. Phrase your post so that we can follow your line of thought, step by step.
Please revise your post; we may not be able to help you otherwise. We may also close topics of low quality to prevent spam.
Thanks