From 78f67775cd8d880dacd5e8d5be6e17cc9fcbf77c Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期二, 26 五月 2026 14:53:07 +0800
Subject: [PATCH] feat(forms): 统一表单创建时间和编号生成逻辑

---
 src/hooks/useModal.js |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/hooks/useModal.js b/src/hooks/useModal.js
index 12d945c..0d443a1 100644
--- a/src/hooks/useModal.js
+++ b/src/hooks/useModal.js
@@ -8,11 +8,10 @@
   const openModal = (e) => {
     id.value = e;
     modalOptions.value = {
-      title: e ? "缂栬緫璁惧鍙拌处" : "鏂板璁惧鍙拌处",
+      title: e ? `淇敼${options.title}` : `鏂板${options.title}`,
       content: "纭畾鎵ц姝ゆ搷浣滃悧锛�",
       confirmText: "纭畾",
       cancelText: "鍙栨秷",
-      ...options,
     };
     visible.value = true;
   };

--
Gitblit v1.9.3