mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-08-28 19:47:49 +08:00
fix
This commit is contained in:
@@ -12,6 +12,7 @@ const dataList = ref<DownloadingInfo[]>([])
|
|||||||
const fetchData = async () => {
|
const fetchData = async () => {
|
||||||
try {
|
try {
|
||||||
dataList.value = await api.get('download')
|
dataList.value = await api.get('download')
|
||||||
|
isRefreshed.value = true
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(error)
|
console.error(error)
|
||||||
}
|
}
|
||||||
@@ -28,7 +29,6 @@ const onRefresh = () => {
|
|||||||
loading.value = true
|
loading.value = true
|
||||||
fetchData()
|
fetchData()
|
||||||
loading.value = false
|
loading.value = false
|
||||||
isRefreshed.value = true
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// 加载时获取数据
|
// 加载时获取数据
|
||||||
|
|||||||
Reference in New Issue
Block a user