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 +1 -1
- package/lib/index.js +1 -1
- package/package.json +1 -1
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
|
}, {});
|