mirror of
https://gitee.com/hhyykk/ipms-sjy-ui.git
synced 2025-07-15 11:25:07 +08:00
🐛 修复 post 和 dept 在 IDEA 报错的问题
This commit is contained in:
@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user