chore(format): fix oxfmt drift in data grid export

This commit is contained in:
t8y2 committed 2026-09-09 16:46:12 +08:00
1 parent 9e18dc2f58
commit 7434295b1f
1 file changed
+4 -1
@@ -402,7 +402,10 @@ export function useDataGridExport(options: UseDataGridExportOptions) {
const normalized = normalizeCompleteLocalResult(completeLocalResult.value);
const columnComments = buildXlsxHeaderOverrides(normalized.columns, normalized.columnComments, headerMode);
return {
...applyGlobalDateTimeExportFormat({ columns: normalized.columns, columnTypes: normalized.columnTypes, rows: preserveMongoExtendedJson ? mongoDocumentRowsForJson(normalized.columns, normalized.rows, normalized.mongoCopyDocuments) : normalized.rows }, formatDateTime && !preserveMongoExtendedJson),
...applyGlobalDateTimeExportFormat(
{ columns: normalized.columns, columnTypes: normalized.columnTypes, rows: preserveMongoExtendedJson ? mongoDocumentRowsForJson(normalized.columns, normalized.rows, normalized.mongoCopyDocuments) : normalized.rows },
formatDateTime && !preserveMongoExtendedJson,
),
columnComments,
spatialColumns: completeLocalResult.value.spatial_columns,
spatialValues: completeLocalResult.value.spatial_values,