fix: 处理序列化导致时间错误的问题

This commit is contained in:
奔跑的面条 2023-01-17 14:45:13 +08:00
parent 0111f42803
commit c7988f2d83

View File

@ -305,7 +305,7 @@ export const JSONStringify = <T>(data: T) => {
}
// 处理 undefined 丢失问题
if (typeof val === 'undefined') {
return 'undefined'
return null
}
return val
},