@hi-ui/check-select 4.1.0 → 4.1.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @hi-ui/check-select
2
2
 
3
+ ## 4.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#2334](https://github.com/XiaoMi/hiui/pull/2334) [`c9e6f4ad6`](https://github.com/XiaoMi/hiui/commit/c9e6f4ad6c1050b86bee5db681214d39830305c7) Thanks [@zyprepare](https://github.com/zyprepare)! - 修复问题:设置 loading 无效果
8
+
3
9
  ## 4.1.0
4
10
 
5
11
  ### Minor Changes
@@ -309,7 +309,7 @@ var CheckSelect = /*#__PURE__*/React.forwardRef(function (_a, ref) {
309
309
  searchable: searchable,
310
310
  scrollable: !inVirtual,
311
311
  onSearch: funcUtils.callAllFuncs(onSearchProp, onSearch),
312
- loading: loading,
312
+ loading: rest.loading !== undefined ? rest.loading : loading,
313
313
  footer: renderDefaultFooter(),
314
314
  trigger: customRender ? typeof customRender === 'function' ? customRender(checkedItems) : customRender : /*#__PURE__*/React__default["default"].createElement(tagInput.TagInputMock, {
315
315
  clearable: clearable,
@@ -267,7 +267,7 @@ var CheckSelect = /*#__PURE__*/forwardRef(function (_a, ref) {
267
267
  searchable: searchable,
268
268
  scrollable: !inVirtual,
269
269
  onSearch: callAllFuncs(onSearchProp, onSearch),
270
- loading: loading,
270
+ loading: rest.loading !== undefined ? rest.loading : loading,
271
271
  footer: renderDefaultFooter(),
272
272
  trigger: customRender ? typeof customRender === 'function' ? customRender(checkedItems) : customRender : /*#__PURE__*/React.createElement(TagInputMock, {
273
273
  clearable: clearable,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hi-ui/check-select",
3
- "version": "4.1.0",
3
+ "version": "4.1.1",
4
4
  "description": "A sub-package for @hi-ui/hiui.",
5
5
  "keywords": [],
6
6
  "author": "HiUI <mi-hiui@xiaomi.com>",