fix resetList function

This commit is contained in:
smilerz
2021-09-15 08:50:46 -05:00
parent 90dc445c45
commit 6a29c79e5c
15 changed files with 108 additions and 108 deletions

View File

@ -140,9 +140,9 @@ export default {
methods: {
// this.genericAPI inherited from ApiMixin
resetList: function (e) {
this['items_' + e.column] = []
this[e.column + '_counts'].max = 9999 + Math.random()
this[e.column + '_counts'].current = 0
this['items_' + e] = []
this[e + '_counts'].max = 9999 + Math.random()
this[e + '_counts'].current = 0
},
startAction: function (e, param) {
let source = e?.source ?? {}

View File

@ -4,7 +4,7 @@
<div class="col col-md">
<!-- search box -->
<b-input-group class="mt-3">
<b-input class="form-control" type="search" v-model="search_left"
<b-input class="form-control" type="search" v-model="search"
v-bind:placeholder="this.text.search"></b-input>
</b-input-group>
</div>