Fix input behaviour after updating element-ui

This commit is contained in:
Angelina Filippova 2019-04-02 23:38:56 +03:00
parent a4b1bc1a82
commit bca639f79f

View file

@ -3,7 +3,7 @@
<h1>{{ $t('users.users') }}</h1>
<div class="search-container">
<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>
<el-table v-loading="loading" :data="users" style="width: 100%">
<el-table-column :min-width="width" :label="$t('users.id')" prop="id" />
@ -124,6 +124,11 @@ export default {
components: {
UsersFilter
},
data() {
return {
search: ''
}
},
computed: {
loading() {
return this.$store.state.users.loading