Skip to content

Commit

Permalink
refactor(SPA): 优化通用搜索框的搜索体验
Browse files Browse the repository at this point in the history
  • Loading branch information
mutoe committed Dec 19, 2018
1 parent 9fea8fe commit 9b975fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/spa/src/components/common/SearchBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
:value="value"
:placeholder="placeholder"
type="search"
@input="$emit('input', $event.target.value)"
@input="$emit('input', $event.target.value.trim())"
>
</form>

Expand Down

0 comments on commit 9b975fa

Please sign in to comment.