From c968aac7ed3985042631613787a5945e1dcde2cf Mon Sep 17 00:00:00 2001 From: zhangdaiscott Date: Thu, 29 Sep 2022 15:11:45 +0800 Subject: [PATCH] =?UTF-8?q?JVxeTypes.selectDictSearch=20sync=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../JVxeCustom/src/components/JVxeSelectDictSearchCell.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/JVxeCustom/src/components/JVxeSelectDictSearchCell.ts b/src/components/JVxeCustom/src/components/JVxeSelectDictSearchCell.ts index 93abfc1..e03c395 100644 --- a/src/components/JVxeCustom/src/components/JVxeSelectDictSearchCell.ts +++ b/src/components/JVxeCustom/src/components/JVxeSelectDictSearchCell.ts @@ -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; });