From cf930e3e56535c0cf501e04af747136f376c9795 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A2=81=E7=81=8F?= Date: Sun, 28 Jun 2020 09:14:35 +0800 Subject: [PATCH] fix #446 --- src/components/select/select.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/select/select.vue b/src/components/select/select.vue index c4c60eed..f5896c66 100644 --- a/src/components/select/select.vue +++ b/src/components/select/select.vue @@ -480,6 +480,8 @@ } }, clearSingleSelect(){ // PUBLIC API + // fix #446 + if (!this.multiple) this.$emit('input', ''); this.$emit('on-clear'); this.hideMenu(); if (this.clearable) this.reset();