feat: 新增流程设计器color-picker

This commit is contained in:
tony
2022-12-25 10:49:55 +08:00
parent b57ccd6a8f
commit ff0cf07746
3 changed files with 220 additions and 208 deletions

View File

@@ -58,6 +58,8 @@ import getInitStr from './flowable/init'
// 引入flowable的节点文件
import FlowableModule from './flowable/flowable.json'
import customControlsModule from './customPanel'
import BpmnColorPickerModule from 'bpmn-js-color-picker';
export default {
name: 'WorkflowBpmnModeler',
components: {
@@ -108,6 +110,7 @@ export default {
container: this.$refs.canvas,
additionalModules: [
customControlsModule,
BpmnColorPickerModule,
{ //汉化
translate: ['value', customTranslate]
},