JVxeTypes.selectDictSearch sync问题

pull/170/head^2
zhangdaiscott 2022-09-29 15:11:45 +08:00
parent 8e33da231e
commit c968aac7ed
1 changed files with 2 additions and 1 deletions

View File

@ -42,7 +42,8 @@ export const DictSearchInputCell = defineComponent({
// 筛选函数
const filterOption = computed(() => {
if (isAsync.value) {
return null;
//【jeecgboot-vue3/issues/I5QRT8】JVxeTypes.selectDictSearch sync问题
return ()=>true;
}
return (input, option) => option.componentOptions.children[0].text.toLowerCase().indexOf(input.toLowerCase()) >= 0;
});