修复云端录像详情页时间显示错误

pull/1450/head
648540858 2024-04-30 15:36:32 +08:00
parent b6e604f244
commit 78c2b5a63d
1 changed files with 4 additions and 1 deletions

View File

@ -349,7 +349,10 @@
this.$router.back()
},
getFileShowName(item) {
return moment.unix(item.startTime).format('HH:mm:ss') + "-" + moment.unix(item.endTime).format('HH:mm:ss')
console.log("getFileShowName")
console.log(item.startTime)
console.log(item.endTime)
return moment(item.startTime).format('HH:mm:ss') + "-" + moment(item.endTime).format('HH:mm:ss')
},
chooseMediaChange() {