wargerm 0.7.74 → 0.7.76
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.esm.js +6 -3
- package/dist/index.js +6 -3
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
@@ -2800,10 +2800,10 @@ Index$4.Group = Checkbox.Group;
|
|
2800
2800
|
/*
|
2801
2801
|
* @Author: lijin
|
2802
2802
|
* @Date: 2021-10-27 22:18:49
|
2803
|
-
* @LastEditTime:
|
2803
|
+
* @LastEditTime: 2023-12-27 19:24:06
|
2804
2804
|
* @LastEditors: lijin
|
2805
2805
|
* @Description:
|
2806
|
-
* @FilePath: \wargerm
|
2806
|
+
* @FilePath: \wargerm\src\utils\index.ts
|
2807
2807
|
* 可以输入预定的版权声明、个性签名、空行等
|
2808
2808
|
*/
|
2809
2809
|
/**
|
@@ -2816,9 +2816,12 @@ function filterObj(obj) {
|
|
2816
2816
|
return;
|
2817
2817
|
}
|
2818
2818
|
for (var key in obj) {
|
2819
|
-
if (obj.hasOwnProperty(key) &&
|
2819
|
+
if (obj.hasOwnProperty(key) && obj[key] == null) {
|
2820
2820
|
delete obj[key];
|
2821
2821
|
}
|
2822
|
+
if (obj.hasOwnProperty(key) && obj[key] == undefined) {
|
2823
|
+
obj[key] = '';
|
2824
|
+
}
|
2822
2825
|
}
|
2823
2826
|
return obj;
|
2824
2827
|
}
|
package/dist/index.js
CHANGED
@@ -2844,10 +2844,10 @@ Index$4.Group = antd.Checkbox.Group;
|
|
2844
2844
|
/*
|
2845
2845
|
* @Author: lijin
|
2846
2846
|
* @Date: 2021-10-27 22:18:49
|
2847
|
-
* @LastEditTime:
|
2847
|
+
* @LastEditTime: 2023-12-27 19:24:06
|
2848
2848
|
* @LastEditors: lijin
|
2849
2849
|
* @Description:
|
2850
|
-
* @FilePath: \wargerm
|
2850
|
+
* @FilePath: \wargerm\src\utils\index.ts
|
2851
2851
|
* 可以输入预定的版权声明、个性签名、空行等
|
2852
2852
|
*/
|
2853
2853
|
/**
|
@@ -2860,9 +2860,12 @@ function filterObj(obj) {
|
|
2860
2860
|
return;
|
2861
2861
|
}
|
2862
2862
|
for (var key in obj) {
|
2863
|
-
if (obj.hasOwnProperty(key) &&
|
2863
|
+
if (obj.hasOwnProperty(key) && obj[key] == null) {
|
2864
2864
|
delete obj[key];
|
2865
2865
|
}
|
2866
|
+
if (obj.hasOwnProperty(key) && obj[key] == undefined) {
|
2867
|
+
obj[key] = '';
|
2868
|
+
}
|
2866
2869
|
}
|
2867
2870
|
return obj;
|
2868
2871
|
}
|