fix
This commit is contained in:
@@ -18,7 +18,7 @@ const chart = ref<Rank[]>([])
|
|||||||
|
|
||||||
async function listRanks() {
|
async function listRanks() {
|
||||||
const offset = (query.page - 1) * query.limit
|
const offset = (query.page - 1) * query.limit
|
||||||
const res = await getRank(offset, query.limit, 30)
|
const res = await getRank(offset, query.limit, 100)
|
||||||
data.value = res.data.results
|
data.value = res.data.results
|
||||||
total.value = res.data.total
|
total.value = res.data.total
|
||||||
if (query.page === 1) {
|
if (query.page === 1) {
|
||||||
|
|||||||
Reference in New Issue
Block a user