图片压缩并把图片转移至cdn

This commit is contained in:
aixianling
2022-08-12 17:16:21 +08:00
parent 2d76c3fee4
commit cc06862696

View File

@@ -67,7 +67,7 @@ export default {
const {LogicFlow, Menu, DndPanel, BpmnElement} = window
let plugins = [BpmnElement, this.readonly ? [] : [Menu, DndPanel]].flat()
if (!!LogicFlow && this.$refs.lfIns && plugins.reduce((r, e) => r && !!e, true)) {
this.flow = new LogicFlow({container: this.$refs.lfIns, plugins})
this.flow = new LogicFlow({container: this.$refs.lfIns, plugins, isSilentMode: this.readonly})
this.flow.extension.dndPanel?.setPatternItems(this.dndPanel)
this.initValue()
this.flow.on('history:change', evt => {