mirror of
https://gitee.com/dromara/go-view.git
synced 2024-11-30 10:48:40 +08:00
fix: 处理序列化导致时间错误的问题
This commit is contained in:
parent
0111f42803
commit
c7988f2d83
@ -305,7 +305,7 @@ export const JSONStringify = <T>(data: T) => {
|
||||
}
|
||||
// 处理 undefined 丢失问题
|
||||
if (typeof val === 'undefined') {
|
||||
return 'undefined'
|
||||
return null
|
||||
}
|
||||
return val
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user