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