From 2a078298589f4e783e1018f7a7caf9cd49c10cf2 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期三, 13 八月 2025 14:34:26 +0800
Subject: [PATCH] 公出管理/请假/出差/报销
---
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