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