@bit-sun/business-component 4.0.13-alpha.11 → 4.0.13-alpha.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/dist/index.esm.js
CHANGED
|
@@ -4651,6 +4651,7 @@ var QueryMutipleSearchSelect = function QueryMutipleSearchSelect(_ref) {
|
|
|
4651
4651
|
var callback = arguments.length > 1 ? arguments[1] : undefined;
|
|
4652
4652
|
if (!requestConfig) return;
|
|
4653
4653
|
if (!url) return;
|
|
4654
|
+
if (!(searchValue === null || searchValue === void 0 ? void 0 : searchValue.length)) return; // 空值默认不查询
|
|
4654
4655
|
setFetching(true);
|
|
4655
4656
|
var queryParams = _objectSpread2(_objectSpread2({}, otherParams), params);
|
|
4656
4657
|
if (isNil(queryParams[selectParamsKey])) {
|
package/dist/index.js
CHANGED
|
@@ -4674,6 +4674,7 @@ var QueryMutipleSearchSelect = function QueryMutipleSearchSelect(_ref) {
|
|
|
4674
4674
|
var callback = arguments.length > 1 ? arguments[1] : undefined;
|
|
4675
4675
|
if (!requestConfig) return;
|
|
4676
4676
|
if (!url) return;
|
|
4677
|
+
if (!(searchValue === null || searchValue === void 0 ? void 0 : searchValue.length)) return; // 空值默认不查询
|
|
4677
4678
|
setFetching(true);
|
|
4678
4679
|
var queryParams = _objectSpread2(_objectSpread2({}, otherParams), params);
|
|
4679
4680
|
if (_.isNil(queryParams[selectParamsKey])) {
|
package/package.json
CHANGED
|
@@ -91,6 +91,7 @@ const QueryMutipleSearchSelect = ({ onValueChange, requestConfig={}, selectProps
|
|
|
91
91
|
const getData = (params: any = {}, callback?: any) => {
|
|
92
92
|
if (!requestConfig) return;
|
|
93
93
|
if (!url) return;
|
|
94
|
+
if(!searchValue?.length) return; // 空值默认不查询
|
|
94
95
|
|
|
95
96
|
setFetching(true)
|
|
96
97
|
|