From 5ea216753f2534bf12276bc0f9fbca65e3afb0a1 Mon Sep 17 00:00:00 2001 From: wangdan-fit2cloud Date: Wed, 22 May 2024 15:17:54 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=AF=B9=E8=AF=9D?= =?UTF-8?q?=E5=8E=86=E5=8F=B2=E8=AE=B0=E5=BD=95=E6=97=A0=E6=B3=95=E7=82=B9?= =?UTF-8?q?=E8=B5=9E=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/src/views/chat/embed/index.vue | 1 + ui/src/views/chat/pc/index.vue | 1 + 2 files changed, 2 insertions(+) diff --git a/ui/src/views/chat/embed/index.vue b/ui/src/views/chat/embed/index.vue index 3e166596c..c53abbc17 100644 --- a/ui/src/views/chat/embed/index.vue +++ b/ui/src/views/chat/embed/index.vue @@ -166,6 +166,7 @@ function getChatRecord() { const list = res.data.records list.map((v: any) => { v['write_ed'] = true + v['record_id'] = v.id }) currentRecordList.value = [...list, ...currentRecordList.value].sort((a, b) => a.create_time.localeCompare(b.create_time) diff --git a/ui/src/views/chat/pc/index.vue b/ui/src/views/chat/pc/index.vue index ee232f856..4b91d2e68 100644 --- a/ui/src/views/chat/pc/index.vue +++ b/ui/src/views/chat/pc/index.vue @@ -197,6 +197,7 @@ function getChatRecord() { const list = res.data.records list.map((v: any) => { v['write_ed'] = true + v['record_id'] = v.id }) currentRecordList.value = [...list, ...currentRecordList.value].sort((a, b) => a.create_time.localeCompare(b.create_time)