mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 10:12:51 +00:00
commit
a35b1b824e
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue