tinker with the page query for game list
This commit is contained in:
@@ -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 } })
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user