@@ -138,6 +138,7 @@
clearable
@clear="clearData"
v-model.trim="keyWords"
+ @keyup.enter.native="queryData"
></el-input>
<el-button @click="queryData()">搜索</el-button>
</div>
@@ -130,7 +130,7 @@ export default {
return {
flag: false, //弹框开关
tacList: [],
- tacName: '',
+ tacName: "",
delItem: null,
delIndex: null,
keyWord: "",
@@ -260,7 +260,7 @@ export default {
open(data, index) {
this.delItem = data;
this.delIndex = index;
- this.tacName = data.TacName
+ this.tacName = data.TacName;
this.flag = true;
},
//滚动加载数据
@@ -135,6 +135,7 @@
+ @keyup.enter.native="getUserData"
<el-button @click="getUserData">搜索</el-button>