style: 调整时间字段宽度

This commit is contained in:
TsMask
2025-04-28 14:48:54 +08:00
parent 55f5734d7b
commit 600ee94ed9
30 changed files with 65 additions and 47 deletions

View File

@@ -201,13 +201,13 @@ let tableColumns: ColumnsType = [
title: t('views.dashboard.cdr.time'),
dataIndex: 'cdrJSON',
align: 'left',
width: 200,
width: 250,
customRender(opt) {
const cdrJSON = opt.value;
if (typeof cdrJSON.updateTime === 'number') {
return parseDateToStr(+cdrJSON.updateTime * 1000);
}
return cdrJSON.updateTime;
return parseDateToStr(cdrJSON.updateTime);
},
},
{
@@ -814,7 +814,7 @@ onBeforeUnmount(() => {
{{
typeof record.cdrJSON.updateTime === 'number'
? parseDateToStr(+record.cdrJSON.updateTime * 1000)
: record.cdrJSON.updateTime
: parseDateToStr(record.cdrJSON.updateTime)
}}
</span>
</div>