mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-08 17:26:41 +08:00
fix 演员阵容页面重复加载
This commit is contained in:
@@ -53,7 +53,11 @@ async function fetchData({ done }: { done: any }) {
|
|||||||
// 加载多次
|
// 加载多次
|
||||||
while (!hasScroll()) {
|
while (!hasScroll()) {
|
||||||
// 请求API
|
// 请求API
|
||||||
currData.value = await api.get(props.apipath)
|
currData.value = await api.get(props.apipath, {
|
||||||
|
params: {
|
||||||
|
page: page.value,
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
// 标计为已请求完成
|
// 标计为已请求完成
|
||||||
isRefreshed.value = true
|
isRefreshed.value = true
|
||||||
|
|||||||
Reference in New Issue
Block a user