Browse Source

fix: 去除流程设计器节点颜色选择

master
tony 3 years ago
parent
commit
2ffb755f8c
  1. 1
      ruoyi-ui/package.json
  2. 2
      ruoyi-ui/src/components/Process/index.vue

1
ruoyi-ui/package.json

@ -39,7 +39,6 @@
"@riophae/vue-treeselect": "0.4.0", "@riophae/vue-treeselect": "0.4.0",
"axios": "0.24.0", "axios": "0.24.0",
"bpmn-js": "^11.1.0", "bpmn-js": "^11.1.0",
"bpmn-js-color-picker": "^0.5.0",
"clipboard": "2.0.8", "clipboard": "2.0.8",
"core-js": "3.25.3", "core-js": "3.25.3",
"diagram-js": "^11.4.1", "diagram-js": "^11.4.1",

2
ruoyi-ui/src/components/Process/index.vue

@ -57,7 +57,6 @@ import getInitStr from './flowable/init'
// flowable // flowable
import FlowableModule from './flowable/flowable.json' import FlowableModule from './flowable/flowable.json'
import customControlsModule from './customPanel' import customControlsModule from './customPanel'
import BpmnColorPickerModule from 'bpmn-js-color-picker';
export default { export default {
name: 'WorkflowBpmnModeler', name: 'WorkflowBpmnModeler',
@ -109,7 +108,6 @@ export default {
container: this.$refs.canvas, container: this.$refs.canvas,
additionalModules: [ additionalModules: [
customControlsModule, customControlsModule,
BpmnColorPickerModule,
{ // { //
translate: ['value', customTranslate] translate: ['value', customTranslate]
}, },

Loading…
Cancel
Save