diff --git a/src/components/select/select-head.vue b/src/components/select/select-head.vue index 5efc60d6..d0592c58 100644 --- a/src/components/select/select-head.vue +++ b/src/components/select/select-head.vue @@ -227,8 +227,9 @@ this.inputLength = this.$refs.input.value.length * 12 + 20; this.$emit('on-keydown'); }, - handleInputDelete () { - if (this.multiple && this.selectedMultiple.length && this.query === '') { + handleInputDelete (e) { + const targetValue = e.target.value; + if (this.multiple && this.selectedMultiple.length && this.query === '' && targetValue === '' ) { this.removeTag(this.selectedMultiple[this.selectedMultiple.length - 1]); } },