feat: 模板导出导入 + 模板应用自动刷新主窗口 + 窗口放大 + 状态栏可拖拽

This commit is contained in:
2026-07-16 13:41:58 +08:00
parent e84b0705e5
commit 7d4551e7f2
6 changed files with 123 additions and 62 deletions
+5 -5
View File
@@ -62,11 +62,11 @@ export function openDialogWindow(type: string): BrowserWindow | null {
}
const sizes: Record<string, { width: number; height: number }> = {
settings: { width: 520, height: 560 },
history: { width: 800, height: 600 },
templates: { width: 640, height: 520 },
rubric: { width: 640, height: 700 },
result: { width: 520, height: 700 }
settings: { width: 640, height: 680 },
history: { width: 1000, height: 750 },
templates: { width: 720, height: 600 },
rubric: { width: 750, height: 800 },
result: { width: 600, height: 780 }
}
const size = sizes[type] || { width: 500, height: 500 }