From e5bba07dec84f610e7bb74df211814c5b2cf4566 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Wed, 17 Jun 2026 19:51:59 +0800 Subject: [PATCH] =?UTF-8?q?fix(im):=20=E8=A1=A5=E5=9B=9E=E5=BD=95=E9=9F=B3?= =?UTF-8?q?=E6=A0=BC=E5=BC=8F=E6=8E=A2=E6=B5=8B=E5=92=8C=20IM=20=E5=88=9D?= =?UTF-8?q?=E5=A7=8B=E5=8C=96=E9=97=A8=E6=8E=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 录音前按浏览器能力选择 MIME 类型,并按实际格式生成语音文件后缀 - 频道消息发送表单改用 UserSelectV2 多选接收人 - IM 外层壳完成本地库和缓存恢复后再挂载子路由 --- src/views/im/home/index.vue | 6 ++- .../components/input/MessageInput.vue | 13 ++++-- .../components/input/VoiceRecorder.vue | 40 +++++++++++++++++-- .../message/ChannelMessageSendForm.vue | 31 ++++++-------- 4 files changed, 62 insertions(+), 28 deletions(-) diff --git a/src/views/im/home/index.vue b/src/views/im/home/index.vue index 1d8e0e5f9..781b1d9de 100644 --- a/src/views/im/home/index.vue +++ b/src/views/im/home/index.vue @@ -12,7 +12,7 @@ - 切 Tab 不重建组件,MessagePanel 滚动位置、输入框草稿等 UI 状态不丢 - Vue 3 里 keep-alive 不能直接包 (会有警告),必须走 v-slot 拿 Component --> - + @@ -29,7 +29,7 @@