mirror of
https://github.com/silenty4ng/k5web
synced 2025-01-07 20:33:28 +00:00
update
This commit is contained in:
parent
43af220237
commit
0d57561383
1 changed files with 2 additions and 2 deletions
|
@ -39,7 +39,7 @@
|
|||
</t-card>
|
||||
</a-col>
|
||||
</a-row>
|
||||
<t-pagination @change="loadit" style="margin: 10px;" :total="state.total" :current="state.page" :pageSize="12" showPageNumber :showPageSize="false" />
|
||||
<t-pagination @change="loadit" style="margin: 10px;" :total="state.total" :current="state.page" :pageSize="24" showPageNumber :showPageSize="false" />
|
||||
</a-card>
|
||||
</a-col>
|
||||
</a-row>
|
||||
|
@ -145,7 +145,7 @@
|
|||
|
||||
const loadit = async (page: any) => {
|
||||
state.page = page.current
|
||||
const resp : any = await axios.get("https://k5.vicicode.com/wsapi/list?type=1&limit=12&page=" + page.current + "&t=" + Date.now())
|
||||
const resp : any = await axios.get("https://k5.vicicode.com/wsapi/list?type=1&limit=24&page=" + page.current + "&t=" + Date.now())
|
||||
state.total = resp.total
|
||||
state.nowpage = resp.data
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue