Merge pull request #903 from smilerz/patch3

fix resetList function
This commit is contained in:
vabene1111 2021-09-15 17:28:30 +02:00 committed by GitHub
commit 000445f3ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

File diff suppressed because one or more lines are too long

View File

@ -141,9 +141,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>