From 762401777b1f31d0db1b8bf721d00f077c461ebf Mon Sep 17 00:00:00 2001 From: ZF sun <34314687@qq.com> Date: Mon, 28 Sep 2026 11:30:40 +0800 Subject: [PATCH] =?UTF-8?q?feat(ai-chat):=20=E5=A2=9E=E5=BC=BA=E5=A4=9A?= =?UTF-8?q?=E5=AA=92=E4=BD=93=E6=B6=88=E6=81=AF=E5=A4=84=E7=90=86=EF=BC=8C?= =?UTF-8?q?=E6=94=AF=E6=8C=81=E5=A4=9A=E6=9D=A1=E8=AF=AD=E9=9F=B3=E5=92=8C?= =?UTF-8?q?=E8=A7=86=E9=A2=91=E5=90=8C=E6=97=B6=E5=8F=91=E9=80=81=EF=BC=8C?= =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=B6=88=E6=81=AF=E6=B0=94=E6=B3=A1=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages_tool/ai-chat/ai-chat-message.vue | 198 +++++++++++++++++-------- 1 file changed, 139 insertions(+), 59 deletions(-) diff --git a/pages_tool/ai-chat/ai-chat-message.vue b/pages_tool/ai-chat/ai-chat-message.vue index 0c697f2..a47a268 100644 --- a/pages_tool/ai-chat/ai-chat-message.vue +++ b/pages_tool/ai-chat/ai-chat-message.vue @@ -39,10 +39,10 @@ - + 多条语音/视频消息顶层无这些字段 (在 voiceList/videoList 里嵌套), 会被误过滤掉不渲染 + 修复: 显式判断 voiceList / videoList 非空 + attachments 非空 --> - - - - - {{ message.fileName || '文件' }} - {{ formatFileSize(message.fileSize) }} + m.type + m.fileName/size + m.imageUrl=本地预览(若有) / m.uploaded.url 上传后 URL + PR-USER-MEDIA-TYPE-BUBBLE (2026-09-28): 文件 + 文字混合时, 配文显示在文件下方 --> + + + + + + {{ message.fileName || '文件' }} + {{ formatFileSize(message.fileSize) }} + + 上传中... + {{ message.uploadError }} - 上传中... - {{ message.uploadError }} + + + + {{ message.content }} - - - - - 上传中... - {{ message.uploadError }} + + + + + + + + + + {{ message.content }}