fix
This commit is contained in:
1 parent
7d9e8d228f
commit
3afca6c1e8
1 file changed
+1
-1
@@ -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