From a1df9699594b0a0e46d26a0394eafb1eb030c68b Mon Sep 17 00:00:00 2001
From: yyb <995253665@qq.com>
Date: 星期三, 20 五月 2026 17:42:09 +0800
Subject: [PATCH] 企业新闻

---
 src/views/officeProcessAutomation/ApproveManage/approve-template/useApproveTemplate.js |   13 +------------
 1 files changed, 1 insertions(+), 12 deletions(-)

diff --git a/src/views/officeProcessAutomation/ApproveManage/approve-template/useApproveTemplate.js b/src/views/officeProcessAutomation/ApproveManage/approve-template/useApproveTemplate.js
index 95eac7b..0dbf2ca 100644
--- a/src/views/officeProcessAutomation/ApproveManage/approve-template/useApproveTemplate.js
+++ b/src/views/officeProcessAutomation/ApproveManage/approve-template/useApproveTemplate.js
@@ -23,8 +23,6 @@
 } from "./approveTemplateConstants.js";
 import { parseFormConfigToData } from "./formConfigUtils.js";
 
-const LEGACY_STORAGE_KEY = "oa_approve_template_custom_v1";
-
 const FALLBACK_TEMPLATE_TYPE_OPTIONS = [
   { value: 0, label: "绯荤粺鍐呯疆" },
   { value: 1, label: "鑷畾涔�" },
@@ -37,17 +35,7 @@
   );
 }
 
-function clearLegacyStorage() {
-  try {
-    localStorage.removeItem(LEGACY_STORAGE_KEY);
-  } catch {
-    /* ignore */
-  }
-}
-
 export function useApproveTemplate() {
-  clearLegacyStorage();
-
   const templateTypeOptions = ref([...FALLBACK_TEMPLATE_TYPE_OPTIONS]);
 
   function templateTypeLabel(type) {
@@ -210,6 +198,7 @@
       ),
       enabled: row.enabled !== false,
       flowNodes: JSON.parse(JSON.stringify(row.flowNodes || [base.flowNodes[0]])),
+      storageBlobDTOs: JSON.parse(JSON.stringify(row.storageBlobDTOs || [])),
     });
   }
 

--
Gitblit v1.9.3