fix(VnPaginate): disable pagination #964

Merged
alexm merged 2 commits from hotFix_disable_pagination into master 2024-11-19 08:48:53 +00:00
3 changed files with 4 additions and 2 deletions
Showing only changes of commit e7b431e9ec - Show all commits

View File

@ -141,6 +141,8 @@ async function fetch(params) {
}
async function paginate() {
if (props.disableInfiniteScroll || !store.hasMoreData) return;
const { page, rowsPerPage, sortBy, descending } = pagination.value;
if (!props.url) return;

View File

@ -440,7 +440,7 @@ function handleOnDataSave({ CrudModelRef }) {
selection: 'multiple',
}"
:crud-model="{
paginate: false,
disableInfiniteScroll: true,
}"
v-model:selected="rowsSelected"
:row-click="saveOnRowChange"

View File

@ -621,7 +621,7 @@ watch(
}"
:create-as-dialog="false"
:crud-model="{
paginate: false,
disableInfiniteScroll: true,
}"
:default-remove="false"
:default-reset="false"