fix: CDR时间的处理

This commit is contained in:
TsMask
2024-11-21 10:06:07 +08:00
parent 5a8ab1343f
commit cf0116b5c6
3 changed files with 15 additions and 4 deletions

View File

@@ -718,7 +718,13 @@ onBeforeUnmount(() => {
</div>
<div>
<span>{{ t('views.dashboard.cdr.time') }}: </span>
<span>{{ parseDateToStr(+record.timestamp * 1000) }}</span>
<span>
{{
typeof record.cdrJSON.updateTime === 'number'
? parseDateToStr(+record.cdrJSON.updateTime * 1000)
: record.cdrJSON.updateTime
}}
</span>
</div>
<a-divider orientation="left">
{{ t('views.dashboard.cdr.rowInfo') }}