data structure
This commit is contained in:
parent
8f4731e08a
commit
a01764e471
5 changed files with 58 additions and 4 deletions
|
@ -30,7 +30,11 @@ export const useQueryBuilderStore = defineStore("queryBuilder", {
|
|||
});
|
||||
},
|
||||
sendQuery(offset = 0, count = 25) {
|
||||
if (this.query == undefined) return;
|
||||
this.queryError = "";
|
||||
this.data = [];
|
||||
this.totalLength = 0;
|
||||
if (this.query == undefined || this.query == "" || (typeof this.query != "string" && this.query.table == ""))
|
||||
return;
|
||||
this.loadingData = "loading";
|
||||
http
|
||||
.post(`/admin/querybuilder/query?offset=${offset}&count=${count}`, {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue