Skip to content

Commit

Permalink
feat: search support enter
Browse files Browse the repository at this point in the history
  • Loading branch information
zxypro1 committed Jun 13, 2024
1 parent 7c3c718 commit d0da5d6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions application.html
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ <h5 class="widtitle">应用搜索</h5>
placeholder="Search"
required=""
id="searchdata"
onkeydown="if(event.keyCode==13)getPackages()"
/>
<button onclick="getPackages()">
<i class="fas fa-search"></i>
Expand Down
1 change: 1 addition & 0 deletions component.html
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ <h5 class="widtitle">组件搜索</h5>
placeholder="Search"
required=""
id="searchdata"
onkeydown="if(event.keyCode==13)getPackages()"
/>
<button onclick="getPackages()">
<i class="fas fa-search"></i>
Expand Down
1 change: 1 addition & 0 deletions plugin.html
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@ <h5 class="widtitle">插件搜索</h5>
placeholder="Search"
required=""
id="searchdata"
onkeydown="if(event.keyCode==13)getPackages()"
/>
<button onclick="getPackages()">
<i class="fas fa-search"></i>
Expand Down

0 comments on commit d0da5d6

Please sign in to comment.