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