🐛 修复 post 和 dept 在 IDEA 报错的问题

This commit is contained in:
YunaiV committed 2023-12-02 10:20:09 +08:00
1 parent d6ff66dc1d
commit a77173f2ae
7 files changed
+18 -18

No files matched your search

+2 -2
View File
@@ -200,9 +200,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)
}