From b3d1fe2855bf632698615f7da5c205425d9f7ddc Mon Sep 17 00:00:00 2001 From: Wang Chenguang Date: Fri, 27 Sep 2019 14:21:04 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E9=9C=80=E6=B1=82=20select=20=E6=90=9C?= =?UTF-8?q?=E7=B4=A2=E5=8A=9F=E8=83=BD=E6=83=85=E5=86=B5=E4=B8=8B=E9=97=AE?= =?UTF-8?q?=E9=A2=98=EF=BC=8Clabel=E5=92=8Cvalue=E9=83=BD=E8=BF=9B?= =?UTF-8?q?=E8=A1=8C=E4=BA=86=E5=8C=B9=E9=85=8D=20=E5=8F=AA=E5=8C=B9?= =?UTF-8?q?=E9=85=8Dlabel?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/select/select.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/select/select.vue b/src/components/select/select.vue index ea5c7189..786174ee 100644 --- a/src/components/select/select.vue +++ b/src/components/select/select.vue @@ -496,7 +496,7 @@ const nodeText = node.elm ? node.elm.textContent : node.text; return `${str} ${nodeText}`; }, '') || ''; - const stringValues = JSON.stringify([value, label, textContent]); + const stringValues = JSON.stringify([label, textContent]); const query = this.query.toLowerCase().trim(); return stringValues.toLowerCase().includes(query); },