From 01a4f6341f6fe4806f45cf7a4c7b3bc450a6a0e0 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期四, 07 五月 2026 16:08:53 +0800
Subject: [PATCH] feat(AIChatSidebar): 添加文件上传预览和消息中文件显示功能

---
 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