fix(favorites): honor source priority and installed state

This commit is contained in:
2026-05-18 23:40:28 +08:00
parent e116dcee63
commit 58789ecd1f
4 changed files with 148 additions and 13 deletions
+1 -1
View File
@@ -1274,7 +1274,7 @@ const refreshFavorites = async (): Promise<void> => {
favoriteLoading.value = true;
favoriteError.value = "";
try {
await loadFavoriteFolders();
await Promise.all([refreshInstalledApps(), loadFavoriteFolders()]);
await loadActiveFavoriteItems();
} catch (error: unknown) {
favoriteError.value = (error as Error)?.message || "读取收藏夹失败";