Vue3 重构:简化 formatDate

This commit is contained in:
YunaiV committed 2023-03-25 01:01:50 +08:00
1 parent eb29f8e2c5
commit 44dc02a02e
6 files changed
+7 -8

No files matched your search

+1 -1
View File
@@ -194,5 +194,5 @@ export const dateFormatter = (row, column, cellValue) => {
if (!cellValue) {
return
}
return dayjs(cellValue).format('YYYY-MM-DD HH:mm:ss')
return formatDate(cellValue)
}