From 4b0234e5e7ed82d77b0b1772a7463237a579286a Mon Sep 17 00:00:00 2001 From: toniol <452148223@qq.com> Date: Wed, 9 Aug 2017 15:09:18 +0800 Subject: [PATCH] fix #97 --- src/components/input/Search.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/input/Search.vue b/src/components/input/Search.vue index 45ff9d5..92c431a 100644 --- a/src/components/input/Search.vue +++ b/src/components/input/Search.vue @@ -45,7 +45,7 @@ e.preventDefault() let search = document.querySelector('#' + this.formId + ' > [type=search]') search.blur() - if (this.onSearch) this.onSearch() + if (this.onSearch) this.onSearch(this.$refs.input.value) }, cancel() {