From 2da3e852549b9be80275682c7ec173b4f9474e22 Mon Sep 17 00:00:00 2001 From: LiuHao Date: Fri, 2 Feb 2024 11:26:19 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E4=BC=98=E5=8C=96=E5=B1=9E=E6=80=A7?= =?UTF-8?q?=E9=9D=A2=E6=9D=BF=EF=BC=8C=E5=A2=9E=E5=8A=A0=E5=B1=95=E5=BC=80?= =?UTF-8?q?=E5=8A=A8=E7=94=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/BpmnDesign/index.vue | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/src/components/BpmnDesign/index.vue b/src/components/BpmnDesign/index.vue index ffa7423..413fa30 100644 --- a/src/components/BpmnDesign/index.vue +++ b/src/components/BpmnDesign/index.vue @@ -63,17 +63,18 @@
-
+
- -
- -
+ +
+ +
+
@@ -104,6 +105,7 @@ const dialog = reactive({ }); const panelFlag = ref(false); +const showPanel = ref(true); const xmlUploadRef = ref(); @@ -126,6 +128,14 @@ onMounted(() => { }); }); +const panelBarClick = () => { + // 延迟执行,否则会导致面板收起时,属性面板不显示 + panelFlag.value = !panelFlag.value; + setTimeout(() => { + showPanel.value = !panelFlag.value; + }, 100); +}; + /** * 从文件加载xml */