fix: 修复导出功能中时间分组字段的日期格式化
This commit is contained in:
@@ -334,7 +334,11 @@ function fnRecordExport() {
|
||||
for (const key of keys) {
|
||||
if (tableColumnsKeyArr[i] === key) {
|
||||
const title = tableColumnsTitleArr[i];
|
||||
kpiData[title] = item[key];
|
||||
if (key === 'timeGroup') {
|
||||
kpiData[title] = parseDateToStr(item[key]);
|
||||
} else {
|
||||
kpiData[title] = item[key];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user