1
This commit is contained in:
@@ -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')
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user