From 24d4cef968fd99672e3122c13411f06600cca56f Mon Sep 17 00:00:00 2001 From: zhangdaiscott Date: Wed, 6 Sep 2023 14:39:10 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90issues/5305=E3=80=91JVxeTypes.select?= =?UTF-8?q?=20=E6=97=A0=E6=B3=95=E6=8C=89=E7=85=A7=E9=A2=84=E6=9C=9F?= =?UTF-8?q?=E8=BF=9B=E8=A1=8C=E6=90=9C=E7=B4=A2=20---?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../JVxeTable/src/components/cells/JVxeSelectCell.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/components/jeecg/JVxeTable/src/components/cells/JVxeSelectCell.vue b/src/components/jeecg/JVxeTable/src/components/cells/JVxeSelectCell.vue index d48696c..ed9d17c 100644 --- a/src/components/jeecg/JVxeTable/src/components/cells/JVxeSelectCell.vue +++ b/src/components/jeecg/JVxeTable/src/components/cells/JVxeSelectCell.vue @@ -5,7 +5,7 @@  加载中… @@ -133,9 +133,12 @@ /** 用于搜索下拉框中的内容 */ function handleSelectFilterOption(input, option) { + let { allowSearch, allowInput } = originColumn.value; if (allowSearch === true || allowInput === true) { - return option.value.toLowerCase().indexOf(input.toLowerCase()) >= 0; + // update-begin--author:liaozhiyang---date:20230904---for:【issues/5305】JVxeTypes.select 无法按照预期进行搜索 + return option.title.toLowerCase().indexOf(input.toLowerCase()) >= 0; + // update-begin--author:liaozhiyang---date:20230904---for:【issues/5305】JVxeTypes.select 无法按照预期进行搜索 } return true; }