diff --git a/src/components/input/Search.vue b/src/components/input/Search.vue index 45ff9d5..192d516 100644 --- a/src/components/input/Search.vue +++ b/src/components/input/Search.vue @@ -49,7 +49,10 @@ }, cancel() { - if (this.onCancel) this.onCancel() + if (this.onCancel) { + this.$refs.input.value = '' + this.onCancel() + } }, updateValue(value) {