From d4a0b944282f2f21b040808de64804dbd2d25bdd Mon Sep 17 00:00:00 2001 From: herton7362 Date: Tue, 6 Feb 2018 10:32:59 +0800 Subject: [PATCH] Fix #982 issue.Make Null acceptable for Select tag(让Select标签可以接收null值) --- 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 e73b886..0404b47 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; -- libgit2 0.21.4