@monoui/vuejs 1.1.16 → 1.1.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.js +2 -2
- package/package.json +1 -1
- package/src/components/Table/Table.vue +7 -7
package/package.json
CHANGED
|
@@ -527,6 +527,13 @@ export default {
|
|
|
527
527
|
this.$emit("loading", this.isLoading);
|
|
528
528
|
const { currentPage, itemPerPage } = this.settings;
|
|
529
529
|
|
|
530
|
+
let result = await this.requestFunction(
|
|
531
|
+
this.filters,
|
|
532
|
+
this.sorting,
|
|
533
|
+
currentPage,
|
|
534
|
+
itemPerPage
|
|
535
|
+
);
|
|
536
|
+
|
|
530
537
|
this.clearHistoryParameters("f-");
|
|
531
538
|
for (const filter of this.filters) {
|
|
532
539
|
this.addHistoryParameter(`f-${filter.Column}`, filter.Value);
|
|
@@ -537,13 +544,6 @@ export default {
|
|
|
537
544
|
this.addHistoryParameter(`s-${sort.Column}`, sort.Asc ? 1 : 0);
|
|
538
545
|
}
|
|
539
546
|
|
|
540
|
-
let result = await this.requestFunction(
|
|
541
|
-
this.filters,
|
|
542
|
-
this.sorting,
|
|
543
|
-
currentPage,
|
|
544
|
-
itemPerPage
|
|
545
|
-
);
|
|
546
|
-
|
|
547
547
|
if (!result || result.status !== 200) {
|
|
548
548
|
this.isLoading = false;
|
|
549
549
|
this.isDataEmpty = true;
|