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
*/