added possibility to filter datas
This commit is contained in:
parent
19e6dbd052
commit
98d8cc7bfd
@ -25,8 +25,6 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import "./model";
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
async onBeforeMount(props){
|
async onBeforeMount(props){
|
||||||
let data = await props.items;
|
let data = await props.items;
|
||||||
@ -67,7 +65,7 @@
|
|||||||
this.update();
|
this.update();
|
||||||
},
|
},
|
||||||
async fetchData(){
|
async fetchData(){
|
||||||
let data = await this.execQuery(this.state.search, this.state.filter, this.state.id);
|
let data = await execQuery(this.state.search, this.state.filter, this.state.id);
|
||||||
this.update({
|
this.update({
|
||||||
items: data.results
|
items: data.results
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user