fix: SMSC-CDR时间字段判断是否时间戳

This commit is contained in:
TsMask
2024-11-20 11:12:55 +08:00
parent 29449cc597
commit d7b4fd3f71

View File

@@ -176,7 +176,7 @@ let tableColumns: ColumnsType = [
width: 150, width: 150,
customRender(opt) { customRender(opt) {
const cdrJSON = opt.value; const cdrJSON = opt.value;
if (typeof cdrJSON.seizureTime === 'number') { if (typeof cdrJSON.updateTime === 'number') {
return parseDateToStr(+cdrJSON.updateTime * 1000); return parseDateToStr(+cdrJSON.updateTime * 1000);
} }
return cdrJSON.updateTime; return cdrJSON.updateTime;