style: 调整时间字段宽度
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user