wargerm 0.7.76 → 0.7.78

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 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-27 19:24:06
2803
+ * @LastEditTime: 2023-12-27 18:45:14
2804
2804
  * @LastEditors: lijin
2805
2805
  * @Description:
2806
2806
  * @FilePath: \wargerm\src\utils\index.ts
@@ -2819,7 +2819,8 @@ function filterObj(obj) {
2819
2819
  if (obj.hasOwnProperty(key) && obj[key] == null) {
2820
2820
  delete obj[key];
2821
2821
  }
2822
- if (obj.hasOwnProperty(key) && obj[key] == undefined) {
2822
+ console.log(key, obj[key], obj.hasOwnProperty(key) && typeof obj[key] === 'undefined', '------------');
2823
+ if (obj.hasOwnProperty(key) && typeof obj[key] === 'undefined') {
2823
2824
  obj[key] = '';
2824
2825
  }
2825
2826
  }
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-27 19:24:06
2847
+ * @LastEditTime: 2023-12-27 18:45:14
2848
2848
  * @LastEditors: lijin
2849
2849
  * @Description:
2850
2850
  * @FilePath: \wargerm\src\utils\index.ts
@@ -2863,7 +2863,8 @@ function filterObj(obj) {
2863
2863
  if (obj.hasOwnProperty(key) && obj[key] == null) {
2864
2864
  delete obj[key];
2865
2865
  }
2866
- if (obj.hasOwnProperty(key) && obj[key] == undefined) {
2866
+ console.log(key, obj[key], obj.hasOwnProperty(key) && typeof obj[key] === 'undefined', '------------');
2867
+ if (obj.hasOwnProperty(key) && typeof obj[key] === 'undefined') {
2867
2868
  obj[key] = '';
2868
2869
  }
2869
2870
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": false,
3
3
  "name": "wargerm",
4
- "version": "0.7.76",
4
+ "version": "0.7.78",
5
5
  "scripts": {
6
6
  "dev": "dumi dev",
7
7
  "docs:build": "dumi build",