style: 调整时间字段宽度
This commit is contained in:
@@ -157,13 +157,16 @@ let tableColumns: ColumnsType = [
|
||||
title: t('views.dashboard.ue.time'),
|
||||
dataIndex: 'eventJSON',
|
||||
align: 'left',
|
||||
width: 150,
|
||||
width: 250,
|
||||
customRender(opt) {
|
||||
const record = opt.value;
|
||||
if (record?.time) {
|
||||
return record.time;
|
||||
return parseDateToStr(record.time);
|
||||
}
|
||||
return parseDateToStr(+record.timestamp * 1000);
|
||||
if (record?.timestamp) {
|
||||
return parseDateToStr(+record.timestamp * 1000);
|
||||
}
|
||||
return '';
|
||||
},
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user