1
0

fix(web): 时间空值使用斜杠

This commit is contained in:
2025-08-30 22:18:47 +08:00
parent fbcdbba608
commit cbab5afeab

View File

@@ -250,7 +250,7 @@ export function filterableField(mapping: Array<Record<string, any>>, multiple =
export function time(field: string) { export function time(field: string) {
return { return {
type: 'tpl', type: 'tpl',
tpl: `\${IF(${field}, DATETOSTR(${field}, 'YYYY-MM-DD HH:mm:ss'), undefined)}`, tpl: `\${IF(${field}, DATETOSTR(${field}, 'YYYY-MM-DD HH:mm:ss'), '/')}`,
} }
} }