|
@@ -247,9 +247,9 @@ export function formatPast2(ms) {
|
|
|
* @param cellValue 字段值
|
|
|
*/
|
|
|
// @ts-ignore
|
|
|
-export const dateFormatter = (row, column, cellValue) => {
|
|
|
+export const dateFormatter = (row, column, cellValue): string => {
|
|
|
if (!cellValue) {
|
|
|
- return
|
|
|
+ return ''
|
|
|
}
|
|
|
return formatDate(cellValue)
|
|
|
}
|