🐛 Bug fixes

This commit is contained in:
2024-07-05 00:05:15 +08:00
parent f7063fc109
commit 77c1a029bd
3 changed files with 9 additions and 4 deletions

View File

@ -114,6 +114,9 @@ const pagination = reactive({
})
async function readUsers({ page, itemsPerPage }: { page?: number; itemsPerPage?: number }) {
if (itemsPerPage) pagination.pageSize = itemsPerPage
if (page) pagination.page = page
reverting.value = true
const res = await request(
"/api/admin/users?" +