mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-08 09:16:58 +08:00
fix bug
This commit is contained in:
@@ -21,6 +21,7 @@ async function fetchData() {
|
|||||||
return
|
return
|
||||||
|
|
||||||
dataList.value = await api.get(props.apipath)
|
dataList.value = await api.get(props.apipath)
|
||||||
|
if (dataList.value.length > 0)
|
||||||
componentLoaded.value = true
|
componentLoaded.value = true
|
||||||
}
|
}
|
||||||
catch (error) {
|
catch (error) {
|
||||||
|
|||||||
@@ -21,6 +21,7 @@ async function fetchData() {
|
|||||||
return
|
return
|
||||||
|
|
||||||
dataList.value = await api.get(props.apipath)
|
dataList.value = await api.get(props.apipath)
|
||||||
|
if (dataList.value.length > 0)
|
||||||
componentLoaded.value = true
|
componentLoaded.value = true
|
||||||
}
|
}
|
||||||
catch (error) {
|
catch (error) {
|
||||||
|
|||||||
Reference in New Issue
Block a user