3h1-ui 2.14.11 → 2.14.12

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/es/index.js CHANGED
@@ -13360,7 +13360,7 @@ function useDataSource(propsRef, {
13360
13360
  params = await beforeFetch(params) || params;
13361
13361
  }
13362
13362
  const newval = Object.keys(params).reduce((prev, cur) => {
13363
- if (params[cur] !== void 0 && params[cur] !== null)
13363
+ if (params[cur] !== void 0 && params[cur] !== null && params[cur] !== "")
13364
13364
  prev[cur] = params[cur];
13365
13365
  return prev;
13366
13366
  }, {});
package/lib/index.js CHANGED
@@ -13362,7 +13362,7 @@ function useDataSource(propsRef, {
13362
13362
  params = await beforeFetch(params) || params;
13363
13363
  }
13364
13364
  const newval = Object.keys(params).reduce((prev, cur) => {
13365
- if (params[cur] !== void 0 && params[cur] !== null)
13365
+ if (params[cur] !== void 0 && params[cur] !== null && params[cur] !== "")
13366
13366
  prev[cur] = params[cur];
13367
13367
  return prev;
13368
13368
  }, {});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "3h1-ui",
3
- "version": "2.14.11",
3
+ "version": "2.14.12",
4
4
  "description": "",
5
5
  "module": "es/index.js",
6
6
  "main": "lib/index.js",