Vue3 重构:简化 formatDate

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

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)
}