@bit-sun/business-component 2.4.15-beta → 2.4.16

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.js CHANGED
@@ -8937,9 +8937,9 @@ function commonFun(type, prefixUrl, requestConfigProp, modalTableBusProps) {
8937
8937
  showSearch: true,
8938
8938
  showArrow: true,
8939
8939
  maxTagCount: 1,
8940
- optionFilterProp: 'children',
8940
+ // optionFilterProp: 'children',
8941
8941
  filterOption: function filterOption(input, option) {
8942
- return option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0;
8942
+ return option.children.toLowerCase().indexOf(input.toLowerCase()) >= 0;
8943
8943
  }
8944
8944
  }
8945
8945
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bit-sun/business-component",
3
- "version": "2.4.15-beta",
3
+ "version": "2.4.16",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "docs:build": "dumi build",
@@ -1861,9 +1861,9 @@ export function commonFun (type?: string, prefixUrl: any, requestConfigProp?: an
1861
1861
  showSearch: true,
1862
1862
  showArrow: true,
1863
1863
  maxTagCount: 1,
1864
- optionFilterProp: 'children',
1865
- filterOption: (input: string, option: { props: { children: string } }) =>
1866
- option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0,
1864
+ // optionFilterProp: 'children',
1865
+ filterOption: (input: any, option: any) =>
1866
+ option.children.toLowerCase().indexOf(input.toLowerCase()) >= 0,
1867
1867
  },
1868
1868
  } },
1869
1869
  ]