From 41568c51c04ed371ba2ed1fda10146e939b3e057 Mon Sep 17 00:00:00 2001 From: Hakadao Date: Mon, 1 Jul 2024 01:59:10 +0800 Subject: [PATCH] fix(Favorites): resolve always loading issue --- src/contentScripts/views/Favorites/Favorites.vue | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/contentScripts/views/Favorites/Favorites.vue b/src/contentScripts/views/Favorites/Favorites.vue index 1a4a31ab..fa36cbae 100644 --- a/src/contentScripts/views/Favorites/Favorites.vue +++ b/src/contentScripts/views/Favorites/Favorites.vue @@ -112,8 +112,6 @@ async function getFavoriteResources( pn: number, keyword = '' as string, ) { - if (pn === 1) - isFullPageLoading.value = true isLoading.value = true try { const res: FavoritesResult = await api.favorite.getFavoriteResources({ @@ -137,7 +135,6 @@ async function getFavoriteResources( } finally { isLoading.value = false - isFullPageLoading.value = false } }