tinker with the page query for game list

This commit is contained in:
iamBadgers
2024-05-18 18:47:09 -07:00
parent 97aab587df
commit 8025424f7b
3 changed files with 49 additions and 56 deletions

View File

@@ -51,7 +51,7 @@ let count = 10
async function loadData() {
const response = await axios.post('/api/character', {
page: `${page.value - 1}`,
count: `${count}`,
count: `10`,
orderBy: 'id'
})
@@ -60,7 +60,6 @@ async function loadData() {
}
function setPage(targetPage: number) {
console.log(targetPage)
router.replace({ query: { page: targetPage } })
}