mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-07-29 18:23:59 +08:00
完善“查询”功能
This commit is contained in:
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user