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
|
@@ -183,7 +183,10 @@ watch(
|
|
|
183
183
|
watchEffect(async () => {
|
|
184
184
|
// 输入框过滤,触发的事件
|
|
185
185
|
let arr = showOptions.value.filter((item) => {
|
|
186
|
-
return
|
|
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)) {
|