From 2d28872a12c909f29c140f6a4147b1dd1ed2fb00 Mon Sep 17 00:00:00 2001 From: wwt Date: Fri, 14 Mar 2025 09:46:03 +0800 Subject: [PATCH] =?UTF-8?q?fix=20bug#3892=20=E9=87=8D=E6=96=B0=E7=BC=96?= =?UTF-8?q?=E8=BE=91=E5=B7=B2=E6=92=A4=E5=9B=9E=E7=9A=84=E6=B6=88=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/chat/index.js | 8 ++++++ src/pages/dialog/index.vue | 53 +++++++++++++++++++++----------------- 2 files changed, 37 insertions(+), 24 deletions(-) diff --git a/src/api/chat/index.js b/src/api/chat/index.js index f4aeab0..e3a0491 100644 --- a/src/api/chat/index.js +++ b/src/api/chat/index.js @@ -179,3 +179,11 @@ export const uploadImg = (data,onProgressFn) => { onUploadProgress:(progressEvent)=>onProgressFn(progressEvent,data.get('file')) }) } +// 根据msg_id获取消息 +export const detailGetRecordsContext = (data) => { + return request({ + url: '/api/v1/talk/record/detail', + method: 'GET', + data, + }) +} diff --git a/src/pages/dialog/index.vue b/src/pages/dialog/index.vue index f2ce07b..ca3fe2f 100644 --- a/src/pages/dialog/index.vue +++ b/src/pages/dialog/index.vue @@ -69,8 +69,8 @@ :datetime="item.created_at" :msg_id="item.msg_id" > -