ct-component-plus 1.6.0 → 1.7.0

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ct-component-plus",
3
3
  "private": false,
4
- "version": "1.6.0",
4
+ "version": "1.7.0",
5
5
  "type": "module",
6
6
  "main": "packages/components/index.js",
7
7
  "files": [
@@ -183,7 +183,10 @@ watch(
183
183
  watchEffect(async () => {
184
184
  // 输入框过滤,触发的事件
185
185
  let arr = showOptions.value.filter((item) => {
186
- return item.label && item.label.includes(keyword.value);
186
+ return (
187
+ item.label &&
188
+ item.label.toLowerCase().includes(keyword.value.toLowerCase())
189
+ );
187
190
  });
188
191
  const cbs = props.cbs || {};
189
192
  if (isFunction(cbs.filterCallback)) {