Skip to content

Commit

Permalink
perf: 一键搜支持回车查询 @0.9.4-12
Browse files Browse the repository at this point in the history
  • Loading branch information
BoBoooooo committed May 31, 2021
1 parent 3847c1c commit efc8e42
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "element-pro-crud",
"version": "0.9.4-11",
"version": "0.9.4-12",
"author": "BoBo<[email protected]>",
"main": "lib/pro-crud.js",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion src/component/pro-table/src/SearchForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<template>
<div class="search-form-container">
<el-input placeholder="请输入查询内容" @clear="clearEvent" clearable size="small" v-model="searchContent" class="input"> </el-input>
<el-input placeholder="请输入查询内容" @clear="clearEvent" @keyup.enter.native="btnSearchOnClick" clearable size="small" v-model="searchContent" class="input"> </el-input>
<el-button size="small" type="primary" icon="el-icon-search" @click="btnSearchOnClick" class="tool-btn">查询</el-button>
<!-- 高级查询表单 -->
<SeniorSearchForm v-if="showSeniorSearchFormButton" :remoteFuncs="remoteFuncs" @fetchSearch="getFetchParamsSearch" :columns="columns"> </SeniorSearchForm>
Expand Down

0 comments on commit efc8e42

Please sign in to comment.