mirror of
https://gitee.com/lijingbo-2021/open-anylink-web.git
synced 2025-12-30 11:02:25 +00:00
如果是连续时间,则中间位置只显示第一个时间
This commit is contained in:
@@ -86,10 +86,8 @@ const showId = computed(() => {
|
||||
|
||||
const getLastMsgTime = (index) => {
|
||||
if (index > 0) {
|
||||
console.log(testdata.value[index - 1].content);
|
||||
return testdata.value[index - 1].msgTime;
|
||||
} else {
|
||||
console.log('null');
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user