Commit dde57741190573c563ec599a7410c27aad867ca3
1 parent
bc56b632
fix #5527
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
src/components/input/input.vue
@@ -312,6 +312,7 @@ | @@ -312,6 +312,7 @@ | ||
312 | this.$emit('input', ''); | 312 | this.$emit('input', ''); |
313 | this.setCurrentValue(''); | 313 | this.setCurrentValue(''); |
314 | this.$emit('on-change', e); | 314 | this.$emit('on-change', e); |
315 | + this.$emit('on-clear'); | ||
315 | }, | 316 | }, |
316 | handleSearch () { | 317 | handleSearch () { |
317 | if (this.disabled) return false; | 318 | if (this.disabled) return false; |