mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-06 08:06:43 +08:00
feat:在多个组件中添加onActivated钩子以优化数据加载逻辑
This commit is contained in:
@@ -145,6 +145,10 @@ onBeforeMount(async () => {
|
||||
onMounted(async () => {
|
||||
await loadExtraRecommendSources()
|
||||
})
|
||||
|
||||
onActivated(async () => {
|
||||
loadExtraRecommendSources()
|
||||
})
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
||||
Reference in New Issue
Block a user