From eda30489ebc8af52164cd05a388630a8c1c640a3 Mon Sep 17 00:00:00 2001 From: huangliangxiang Date: Tue, 10 Jan 2017 20:44:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=AF=E6=90=9C=E7=B4=A2=E4=B8=8B=E6=8B=89?= =?UTF-8?q?=E8=8F=9C=E5=8D=95=20=E8=BE=93=E5=85=A5=E6=97=A0=E5=8C=B9?= =?UTF-8?q?=E9=85=8D=E6=97=B6=EF=BC=8C=E7=A7=BB=E5=87=BA=E7=84=A6=E7=82=B9?= =?UTF-8?q?=EF=BC=8C=E5=BA=94=E8=AF=A5=E6=B8=85=E6=A5=9A=E8=BE=93=E5=85=A5?= =?UTF-8?q?=E7=9A=84query?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/select/select.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/select/select.vue b/src/components/select/select.vue index 9b8999f3..7741b781 100644 --- a/src/components/select/select.vue +++ b/src/components/select/select.vue @@ -442,7 +442,7 @@ const model = this.model; if (this.multiple) { - // + this.query = ''; } else { if (model !== '') { this.findChild((child) => { @@ -450,6 +450,8 @@ this.query = child.label === undefined ? child.searchLabel : child.label; } }); + } else { + this.query = ''; } } }, 300);