From ed65a3df434e03fc05929488972a90830358e580 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A2=81=E7=81=8F?= Date: Wed, 29 Mar 2017 09:48:54 +0800 Subject: [PATCH] fixed #518 --- src/components/select/select.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/select/select.vue b/src/components/select/select.vue index 297c18f3..03b6a0f8 100644 --- a/src/components/select/select.vue +++ b/src/components/select/select.vue @@ -524,7 +524,8 @@ } }, watch: { - model () { + model (val) { + if (val === '') this.query = ''; this.modelToQuery(); if (this.multiple) { if (this.slotChangeDuration) {