mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-27 04:49:47 +01:00
完善“查询”功能
This commit is contained in:
parent
a0e56757d8
commit
a7f6a6cc16
1 changed files with 3 additions and 3 deletions
|
|
@ -53,7 +53,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="action-group">
|
<div class="action-group">
|
||||||
<div class="search-group">
|
<div class="search-group">
|
||||||
<el-input placeholder="请输入模型名称查询" v-model="search" size="small" class="search-input" clearable />
|
<el-input placeholder="请输入模型名称查询" v-model="search" size="small" class="search-input" clearable @keyup.enter="handleSearch" />
|
||||||
<el-button type="primary" size="small" class="search-btn" @click="handleSearch">
|
<el-button type="primary" size="small" class="search-btn" @click="handleSearch">
|
||||||
查询
|
查询
|
||||||
</el-button>
|
</el-button>
|
||||||
|
|
@ -212,8 +212,8 @@ export default {
|
||||||
this.loadData();
|
this.loadData();
|
||||||
},
|
},
|
||||||
handleSearch() {
|
handleSearch() {
|
||||||
// TODO: 查询
|
this.currentPage = 1;
|
||||||
console.log('查询:', this.search);
|
this.loadData();
|
||||||
},
|
},
|
||||||
// 批量删除
|
// 批量删除
|
||||||
batchDelete() {
|
batchDelete() {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue