From b2a415728547d5aa0fa77f5653ddb7b8e6a5a8a2 Mon Sep 17 00:00:00 2001
From: 疯狂的狮子Li <15040126243@163.com>
Date: 星期五, 24 一月 2025 13:08:48 +0800
Subject: [PATCH] !175 发布 5.3.0 新春版 祝大家新年快乐 Merge pull request !175 from 疯狂的狮子Li/dev

---
 src/views/workflow/processDefinition/design.vue |   16 +++++-----------
 1 files changed, 5 insertions(+), 11 deletions(-)

diff --git a/src/views/workflow/processDefinition/design.vue b/src/views/workflow/processDefinition/design.vue
index cb11045..05e6538 100644
--- a/src/views/workflow/processDefinition/design.vue
+++ b/src/views/workflow/processDefinition/design.vue
@@ -1,17 +1,18 @@
 <template>
-  <div ref="container" class="container">
-    <iframe ref="iframe" :src="iframeUrl" frameborder="0" width="100%" height="100%"></iframe>
+  <div ref="container" class="w-full h-[calc(100vh-88px)]">
+    <iframe ref="iframe" :src="iframeUrl" frameborder="0" height="100%" style="height: 100%; width: inherit"></iframe>
   </div>
 </template>
 
 <script setup name="WarmFlow">
 const { proxy } = getCurrentInstance();
 import { onMounted } from 'vue';
+import { getToken } from '@/utils/auth';
+
 // definitionId涓洪渶瑕佹煡璇㈢殑娴佺▼瀹氫箟id锛�
 // disabled涓烘槸鍚﹀彲缂栬緫, 渚嬪锛氭煡鐪嬬殑鏃跺�欎笉鍙紪杈戯紝涓嶅彲淇濆瓨
 const iframeUrl = ref('');
 const baseUrl = import.meta.env.VITE_APP_BASE_API;
-import { getToken } from '@/utils/auth';
 const iframeLoaded = () => {
   // iframe鐩戝惉缁勪欢鍐呰璁″櫒淇濆瓨浜嬩欢
   window.onmessage = (event) => {
@@ -28,7 +29,7 @@
 };
 /** 鍏抽棴鎸夐挳 */
 function close() {
-  const obj = { path: '/workflow/processDefinition' };
+  const obj = { path: '/workflow/processDefinition', query: {activeName: proxy.$route.query.activeName}};
   proxy.$tab.closeOpenPage(obj);
 }
 
@@ -43,10 +44,3 @@
   open
 });
 </script>
-
-<style scoped>
-.container {
-  width: 100%;
-  height: calc(100vh - 84px);
-}
-</style>

--
Gitblit v1.9.3