mirror of
https://gitee.com/dromara/go-view.git
synced 2026-05-30 00:00:05 +08:00
Merge branch 'dev' into master-fetch-dev
This commit is contained in:
+1
-1
@@ -272,7 +272,7 @@ export const setKeyboardDressShow = (keyCode?: number) => {
|
||||
* * JSON序列化,支持函数和 undefined
|
||||
* @param data
|
||||
*/
|
||||
export const JSONStringify = (data: object) => {
|
||||
export const JSONStringify = <T>(data: T) => {
|
||||
return JSON.stringify(
|
||||
data,
|
||||
(key, val) => {
|
||||
|
||||
Reference in New Issue
Block a user