|
@@ -1065,11 +1065,11 @@ export default {
|
|
resetQuery() {
|
|
resetQuery() {
|
|
this.queryParams = this.$options.data().queryParams;
|
|
this.queryParams = this.$options.data().queryParams;
|
|
this.loading = true;
|
|
this.loading = true;
|
|
- queryLedgerList(this.queryParams).then((response) => {
|
|
|
|
- this.tabularData = response.rows;
|
|
|
|
- this.total = response.total;
|
|
|
|
|
|
+ setTimeout(() => {
|
|
this.loading = false;
|
|
this.loading = false;
|
|
- });
|
|
|
|
|
|
+ this.tabularData =[];
|
|
|
|
+ this.total = 0;
|
|
|
|
+ }, 400);
|
|
},
|
|
},
|
|
},
|
|
},
|
|
};
|
|
};
|