图片压缩并把图片转移至cdn
This commit is contained in:
@@ -67,7 +67,7 @@ export default {
|
|||||||
const {LogicFlow, Menu, DndPanel, BpmnElement} = window
|
const {LogicFlow, Menu, DndPanel, BpmnElement} = window
|
||||||
let plugins = [BpmnElement, this.readonly ? [] : [Menu, DndPanel]].flat()
|
let plugins = [BpmnElement, this.readonly ? [] : [Menu, DndPanel]].flat()
|
||||||
if (!!LogicFlow && this.$refs.lfIns && plugins.reduce((r, e) => r && !!e, true)) {
|
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.flow.extension.dndPanel?.setPatternItems(this.dndPanel)
|
||||||
this.initValue()
|
this.initValue()
|
||||||
this.flow.on('history:change', evt => {
|
this.flow.on('history:change', evt => {
|
||||||
|
|||||||
Reference in New Issue
Block a user