fix(grid): preserve table data pagination offset
This commit is contained in:
1 parent
4b00bf8215
commit
297e3d0752
4 files changed
+61
-4
No files matched your search
@@ -1681,6 +1681,7 @@ watch(
|
||||
pageSize.value = normalizedLimit;
|
||||
currentPage.value = Math.floor(offset / normalizedLimit) + 1;
|
||||
},
|
||||
{ immediate: true },
|
||||
);
|
||||
const canGoNextPage = computed(() => props.result.has_more === true || props.result.rows.length >= pageSize.value);
|
||||
const canJumpLastPage = computed(() => canGoNextPage.value && (!!props.tableMeta || !!props.countSql));
|
||||
|
||||
Reference in new issue
Block a user