Skip to content

Commit

Permalink
优化搜索输入
Browse files Browse the repository at this point in the history
  • Loading branch information
zbl91555 committed May 19, 2017
1 parent be68f8c commit 929c0de
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 21 deletions.
40 changes: 20 additions & 20 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/page/search/search.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div class="search-container">
<top-bar>搜索</top-bar>
<div class="search-input-wrap">
<input type="search" ref="search" class="search-input" placeholder="请输入搜索关键字">
<input type="search" ref="search" class="search-input" placeholder="请输入搜索关键字" @keyup.enter="search">
<span class="text" @click="search">搜索</span>
</div>
<div class="search-wrap">
Expand Down

0 comments on commit 929c0de

Please sign in to comment.