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