This commit is contained in:
lzp
2026-03-30 15:50:13 +08:00
parent 1a61006734
commit 4570562de8

View File

@@ -23,7 +23,7 @@
</span>
</div>
<div class="history-list mini-scrollbar" v-show="!isCollapse && showHistory">
<div v-for="item in list" :key="item.name" class="history-item">
<div v-for="item in list" :key="item.id" class="history-item">
<div v-if="item.title" class="title">{{ item.name }}</div>
<div
v-else
@@ -177,6 +177,7 @@
})
if (todayList.length > 0) {
list.value.push({
id: 'today',
title: true,
name: $t('Home.today')
})
@@ -184,6 +185,7 @@
}
if (yesterdayList.length > 0) {
list.value.push({
id: 'yesterday',
title: true,
name: $t('Home.yesterday')
})
@@ -191,6 +193,7 @@
}
if (earlierChatList.length > 0) {
list.value.push({
id: 'earlierChat',
title: true,
name: $t('Home.earlierChat')
})