forked from AkkomaGang/admin-fe
Fix input behaviour after updating element-ui
This commit is contained in:
parent
a4b1bc1a82
commit
bca639f79f
1 changed files with 6 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
||||||
<h1>{{ $t('users.users') }}</h1>
|
<h1>{{ $t('users.users') }}</h1>
|
||||||
<div class="search-container">
|
<div class="search-container">
|
||||||
<users-filter/>
|
<users-filter/>
|
||||||
<el-input :placeholder="$t('users.search')" class="search" @input="handleDebounceSearchInput"/>
|
<el-input :placeholder="$t('users.search')" v-model="search" class="search" @input="handleDebounceSearchInput"/>
|
||||||
</div>
|
</div>
|
||||||
<el-table v-loading="loading" :data="users" style="width: 100%">
|
<el-table v-loading="loading" :data="users" style="width: 100%">
|
||||||
<el-table-column :min-width="width" :label="$t('users.id')" prop="id" />
|
<el-table-column :min-width="width" :label="$t('users.id')" prop="id" />
|
||||||
|
@ -124,6 +124,11 @@ export default {
|
||||||
components: {
|
components: {
|
||||||
UsersFilter
|
UsersFilter
|
||||||
},
|
},
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
search: ''
|
||||||
|
}
|
||||||
|
},
|
||||||
computed: {
|
computed: {
|
||||||
loading() {
|
loading() {
|
||||||
return this.$store.state.users.loading
|
return this.$store.state.users.loading
|
||||||
|
|
Loading…
Reference in a new issue