mirror of
https://github.com/ikun0014/lx-music-mobile.git
synced 2025-07-03 06:42:09 +08:00
修复某些歌曲评论的时间显示
This commit is contained in:
parent
ecd8b09a8d
commit
fbfce53f53
@ -154,8 +154,8 @@ export default {
|
||||
},
|
||||
filterComment(rawList) {
|
||||
return rawList.map(item => {
|
||||
let time = parseInt(item.time + '000')
|
||||
let timeStr = dateFormat2(time)
|
||||
let time = String(item.time).length < 10 ? null : parseInt(item.time + '000')
|
||||
let timeStr = time ? dateFormat2(time) : null
|
||||
if (item.middlecommentcontent) {
|
||||
let firstItem = item.middlecommentcontent[0]
|
||||
firstItem.avatarurl = item.avatarurl
|
||||
|
Loading…
x
Reference in New Issue
Block a user