diff --git a/apps/desktop/src-tauri/capabilities/default.json b/apps/desktop/src-tauri/capabilities/default.json index fb5d14f..ee644d5 100644 --- a/apps/desktop/src-tauri/capabilities/default.json +++ b/apps/desktop/src-tauri/capabilities/default.json @@ -9,6 +9,7 @@ "core:window:allow-center", "core:window:allow-set-position", "core:window:allow-set-resizable", + "core:window:allow-set-min-size", "opener:default", "opener:allow-open-path", "opener:allow-reveal-item-in-dir", diff --git a/apps/desktop/src/components/outfit/OutfitRecommendationCard.tsx b/apps/desktop/src/components/outfit/OutfitRecommendationCard.tsx index 5023d55..e722bdc 100644 --- a/apps/desktop/src/components/outfit/OutfitRecommendationCard.tsx +++ b/apps/desktop/src/components/outfit/OutfitRecommendationCard.tsx @@ -102,14 +102,6 @@ export const OutfitRecommendationCard: React.FC = {/* 装饰性背景 */}
- {/* 顶部标识 */} -
-
- - AI推荐 -
-
-
{/* 标题和描述 */}
diff --git a/apps/desktop/src/pages/tools/OutfitRecommendationTool.tsx b/apps/desktop/src/pages/tools/OutfitRecommendationTool.tsx index e5b2da6..d64e5f4 100644 --- a/apps/desktop/src/pages/tools/OutfitRecommendationTool.tsx +++ b/apps/desktop/src/pages/tools/OutfitRecommendationTool.tsx @@ -142,7 +142,7 @@ const OutfitRecommendationTool: React.FC = () => { if (group.group_id === groupId) { return { ...group, - children: [...group.children, ...response.recommendations] + children: [...group.children, ...(response.recommendations || [])] }; } return group;