From 6b4d756a9d53d32e542fd00f5ebba07735c67b50 Mon Sep 17 00:00:00 2001 From: wujun <wj2@assurepharma.cn> Date: 星期二, 09 四月 2024 11:19:04 +0800 Subject: [PATCH] 解决页面偶尔出现的白屏问题 --- src/components/BpmnDesign/panel/index.vue | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/components/BpmnDesign/panel/index.vue b/src/components/BpmnDesign/panel/index.vue index 6c2d146..c282723 100644 --- a/src/components/BpmnDesign/panel/index.vue +++ b/src/components/BpmnDesign/panel/index.vue @@ -11,6 +11,8 @@ import StartEndPanel from './StartEndPanel.vue'; import GatewayPanel from './GatewayPanel.vue'; import SequenceFlowPanel from './SequenceFlowPanel.vue'; +import ParticipantPanel from './ParticipantPanel.vue'; +import SubProcessPanel from './SubProcessPanel.vue'; import { Modeler, ModdleElement } from 'bpmn'; const { proxy } = getCurrentInstance() as ComponentInternalInstance; interface propsType { @@ -45,6 +47,8 @@ if (sequenceType.includes(type)) return SequenceFlowPanel; if (gatewayType.includes(type)) return GatewayPanel; if (processType.includes(type)) return ProcessPanel; + if (type === 'bpmn:Participant') return ParticipantPanel; + if (type === 'bpmn:SubProcess') return SubProcessPanel; //return proxy?.$modal.msgWarning('闈㈡澘寮�鍙戜腑....'); }); -- Gitblit v1.9.3