wargerm 0.7.78 → 0.7.79
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 +3 -4
- package/dist/index.js +3 -4
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
@@ -2800,7 +2800,7 @@ Index$4.Group = Checkbox.Group;
|
|
2800
2800
|
/*
|
2801
2801
|
* @Author: lijin
|
2802
2802
|
* @Date: 2021-10-27 22:18:49
|
2803
|
-
* @LastEditTime: 2023-12-
|
2803
|
+
* @LastEditTime: 2023-12-28 09:33:26
|
2804
2804
|
* @LastEditors: lijin
|
2805
2805
|
* @Description:
|
2806
2806
|
* @FilePath: \wargerm\src\utils\index.ts
|
@@ -2816,11 +2816,10 @@ function filterObj(obj) {
|
|
2816
2816
|
return;
|
2817
2817
|
}
|
2818
2818
|
for (var key in obj) {
|
2819
|
-
if (obj.hasOwnProperty(key) && obj[key]
|
2819
|
+
if (obj.hasOwnProperty(key) && obj[key] === null) {
|
2820
2820
|
delete obj[key];
|
2821
2821
|
}
|
2822
|
-
|
2823
|
-
if (obj.hasOwnProperty(key) && typeof obj[key] === 'undefined') {
|
2822
|
+
if (obj.hasOwnProperty(key) && obj[key] === undefined) {
|
2824
2823
|
obj[key] = '';
|
2825
2824
|
}
|
2826
2825
|
}
|
package/dist/index.js
CHANGED
@@ -2844,7 +2844,7 @@ Index$4.Group = antd.Checkbox.Group;
|
|
2844
2844
|
/*
|
2845
2845
|
* @Author: lijin
|
2846
2846
|
* @Date: 2021-10-27 22:18:49
|
2847
|
-
* @LastEditTime: 2023-12-
|
2847
|
+
* @LastEditTime: 2023-12-28 09:33:26
|
2848
2848
|
* @LastEditors: lijin
|
2849
2849
|
* @Description:
|
2850
2850
|
* @FilePath: \wargerm\src\utils\index.ts
|
@@ -2860,11 +2860,10 @@ function filterObj(obj) {
|
|
2860
2860
|
return;
|
2861
2861
|
}
|
2862
2862
|
for (var key in obj) {
|
2863
|
-
if (obj.hasOwnProperty(key) && obj[key]
|
2863
|
+
if (obj.hasOwnProperty(key) && obj[key] === null) {
|
2864
2864
|
delete obj[key];
|
2865
2865
|
}
|
2866
|
-
|
2867
|
-
if (obj.hasOwnProperty(key) && typeof obj[key] === 'undefined') {
|
2866
|
+
if (obj.hasOwnProperty(key) && obj[key] === undefined) {
|
2868
2867
|
obj[key] = '';
|
2869
2868
|
}
|
2870
2869
|
}
|