@zat-design/sisyphus-react 3.11.4-beta.6 → 3.11.4-beta.7

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.
@@ -730,7 +730,7 @@ var ProModalSelect = function ProModalSelect(props, ref) {
730
730
  size: "small"
731
731
  }) : null,
732
732
  onFocus: function onFocus() {
733
- if (useRequest) {
733
+ if (useRequest && (options === null || options === void 0 ? void 0 : options.length) === 0) {
734
734
  var _useRequest$options10;
735
735
  var queryBean = (useRequest === null || useRequest === void 0 ? void 0 : (_useRequest$options10 = useRequest.options) === null || _useRequest$options10 === void 0 ? void 0 : _useRequest$options10.defaultParams) || {};
736
736
  var params = withPagination ? {
@@ -725,7 +725,7 @@ var ProModalSelect = function ProModalSelect(props, ref) {
725
725
  size: "small"
726
726
  }) : null,
727
727
  onFocus: function onFocus() {
728
- if (useRequest) {
728
+ if (useRequest && (options === null || options === void 0 ? void 0 : options.length) === 0) {
729
729
  var _useRequest$options10;
730
730
  var queryBean = (useRequest === null || useRequest === void 0 ? void 0 : (_useRequest$options10 = useRequest.options) === null || _useRequest$options10 === void 0 ? void 0 : _useRequest$options10.defaultParams) || {};
731
731
  var params = withPagination ? {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zat-design/sisyphus-react",
3
- "version": "3.11.4-beta.6",
3
+ "version": "3.11.4-beta.7",
4
4
  "license": "Apache-2.0",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -1,5 +0,0 @@
1
- {
2
- "recommendations": [
3
- "kisstkondoros.vscode-codemetrics"
4
- ]
5
- }