remove currentPage

This commit is contained in:
pa
2026-01-01 22:17:12 +09:00
committed by Natsumi
parent 31adb7b449
commit 45cf5bf616

View File

@@ -41,10 +41,6 @@
type: Object,
default: () => ({})
},
currentPage: {
type: Number,
default: 1
},
pageSize: {
type: Number,
default: 20
@@ -72,9 +68,9 @@
const appearanceSettingsStore = useAppearanceSettingsStore();
const vrcxStore = useVrcxStore();
const { data, currentPage, pageSize, tableProps, paginationProps, filters } = toRefs(props);
const { data, pageSize, tableProps, paginationProps, filters } = toRefs(props);
const internalCurrentPage = ref(currentPage.value);
const internalCurrentPage = ref(1);
const internalPageSize = ref(pageSize.value);
const asRawArray = (value) => (Array.isArray(value) ? toRaw(value) : []);
@@ -186,10 +182,6 @@
internalCurrentPage.value = page;
};
watch(currentPage, (newVal) => {
internalCurrentPage.value = newVal;
});
watch(pageSize, (newVal) => {
internalPageSize.value = newVal;
});