From d4a0b944282f2f21b040808de64804dbd2d25bdd Mon Sep 17 00:00:00 2001 From: herton7362 Date: Tue, 6 Feb 2018 10:32:59 +0800 Subject: [PATCH] =?UTF-8?q?Fix=20#982=20issue.Make=20Null=20acceptable=20f?= =?UTF-8?q?or=20Select=20tag=EF=BC=88=E8=AE=A9Select=E6=A0=87=E7=AD=BE?= =?UTF-8?q?=E5=8F=AF=E4=BB=A5=E6=8E=A5=E6=94=B6null=E5=80=BC=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 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 e73b886c..0404b470 100644 --- a/src/components/select/select.vue +++ b/src/components/select/select.vue @@ -724,7 +724,8 @@ watch: { value (val) { this.model = val; - if (val === '') this.query = ''; + // #982 + if (val === '' || val === null) this.query = ''; }, label (val) { this.currentLabel = val;