diff --git a/packages/extra/AppWorkflowManage/AiWorkflow.vue b/packages/extra/AppWorkflowManage/AiWorkflow.vue index 034b3f51..20ff4a05 100644 --- a/packages/extra/AppWorkflowManage/AiWorkflow.vue +++ b/packages/extra/AppWorkflowManage/AiWorkflow.vue @@ -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 => {