Skip to content

Commit

Permalink
fix(modules): placeholder in input and data count
Browse files Browse the repository at this point in the history
  • Loading branch information
Kinplemelon committed Sep 6, 2024
1 parent 719ca95 commit 3c3ca5c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/views/Modules/components/UsernameQuota/UsernameQuota.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<div class="emq-table-header">
<el-row class="search-bar" :gutter="20">
<el-col :span="8">
<el-input v-model="filter" size="small" :placeholder="$t('Clients.clientId')" @keyup.enter.native="search" />
<el-input v-model="filter" size="small" :placeholder="$t('Clients.username')" @keyup.enter.native="search" />
</el-col>
<el-col :span="6">
<el-button type="primary" size="small" @click="search">
Expand Down Expand Up @@ -110,6 +110,8 @@ export default {
this.tableData = [data]
} catch (error) {
this.tableData = []
} finally {
this.params._count = this.tableData.length
}
},
viewDetail(data) {
Expand Down

0 comments on commit 3c3ca5c

Please sign in to comment.