fix: 处理 AI API 返回为空的情况,提示检查模型名

This commit is contained in:
2026-07-16 05:59:45 +08:00
parent 31c435c410
commit d346b5fc56
3 changed files with 9 additions and 2 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ export function openDialogWindow(type: string): BrowserWindow | null {
settings: { width: 520, height: 560 },
history: { width: 800, height: 600 },
templates: { width: 640, height: 520 },
rubric: { width: 520, height: 480 },
rubric: { width: 640, height: 700 },
result: { width: 440, height: 560 }
}
const size = sizes[type] || { width: 500, height: 500 }