@tekkare/auriga 0.1.30 → 0.1.32
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/module.json
CHANGED
|
@@ -565,13 +565,17 @@ export default defineComponent({
|
|
|
565
565
|
});
|
|
566
566
|
const finalTable = computed(() => {
|
|
567
567
|
const sorted = sortedTable;
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
568
|
+
if (props.fullTableScroll === true) {
|
|
569
|
+
return sorted.value;
|
|
570
|
+
} else {
|
|
571
|
+
return sorted.value.filter((row, index) => {
|
|
572
|
+
const start = (currentPage.value - 1) * savePageSize.value;
|
|
573
|
+
const end = currentPage.value * savePageSize.value;
|
|
574
|
+
if (index >= start && index < end)
|
|
575
|
+
return true;
|
|
576
|
+
return false;
|
|
577
|
+
});
|
|
578
|
+
}
|
|
575
579
|
});
|
|
576
580
|
const resultCount = computed(() => {
|
|
577
581
|
return sortedTable.value.length;
|