我这有一个问题希望请教一下 #5
Unanswered
bright5145
asked this question in
Q&A
Replies: 1 comment
-
需要引入配置。 // 右侧属性栏
import propertiesPanelModule from 'bpmn-js-properties-panel'
import propertiesProviderModule from 'bpmn-js-properties-panel/lib/provider/camunda'
// 一个描述的json
import camundaModdleDescriptor from 'camunda-bpmn-moddle/resources/camunda'
const bpmnModeler = new BpmnModeler({
//添加控制板
propertiesPanel: {
parent: '#js-properties-panel'
},
additionalModules: [
propertiesPanelModule,
propertiesProviderModule
],
moddleExtensions: {
//如果要在属性面板中维护camunda:XXX属性,则需要此
camunda: camundaModdleDescriptor
}
}) 友情链接一个大佬,有详细介绍LinDaiDai |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
我在使用了自定义的palette后,如果再添加一个官方的工具栏module会出现异常。这种情况下我是需要也使用自定义的module实现嘛?
Beta Was this translation helpful? Give feedback.
All reactions