From e889348562bc1ad4293692d51c22064c0e9b9781 Mon Sep 17 00:00:00 2001
From: LiuHao <liuhaoai545@gmail.com>
Date: 星期一, 18 三月 2024 14:27:43 +0800
Subject: [PATCH] update 面板宽度百分比

---
 src/components/BpmnDesign/index.vue |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/src/components/BpmnDesign/index.vue b/src/components/BpmnDesign/index.vue
index 1568a3e..ca96c81 100644
--- a/src/components/BpmnDesign/index.vue
+++ b/src/components/BpmnDesign/index.vue
@@ -1,6 +1,6 @@
 <template>
   <div class="containers">
-    <div class="app-containers">
+    <div v-loading="loading" class="app-containers">
       <el-container class="h-full">
         <el-container style="align-items: stretch">
           <el-header>
@@ -112,6 +112,7 @@
 const perviewSVGShow = ref(false);
 const xmlStr = ref('');
 const svgData = ref('');
+const loading = ref(false);
 
 const panelBarClick = () => {
   // 寤惰繜鎵ц锛屽惁鍒欎細瀵艰嚧闈㈡澘鏀惰捣鏃讹紝灞炴�ч潰鏉夸笉鏄剧ず
@@ -285,7 +286,8 @@
     xml: xml,
     svg: svg,
     key: process.id,
-    name: process.name
+    name: process.name,
+    loading: loading
   };
   emit('saveCallBack', data);
 };
@@ -388,7 +390,8 @@
   border-left: 1px solid #eeeeee;
   box-shadow: #cccccc 0 0 8px;
   max-height: 100%;
-  width: 480px;
+  width: 25%;
+  min-width: 200px;
   height: calc(100vh - 80px);
   :deep(.el-collapse) {
     height: calc(100vh - 162px);

--
Gitblit v1.9.3