fix: 修复导出功能中时间分组字段的日期格式化

This commit is contained in:
TsMask
2025-06-26 20:40:31 +08:00
parent 42bd112649
commit 93841a02ea
2 changed files with 12 additions and 8 deletions

View File

@@ -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];
}
}
}
}