feat: 评分标准 JSON 导入/导出

This commit is contained in:
2026-07-16 06:40:38 +08:00
parent 98191b4372
commit d5b5ce2ffe
4 changed files with 79 additions and 3 deletions
+2
View File
@@ -81,6 +81,8 @@ export interface ElectronAPI {
rubric: {
storeData: (data: any) => Promise<void>
getData: () => Promise<any>
exportJson: () => Promise<boolean>
importJson: () => Promise<{ questions: QuestionItem[]; currentIndex: number } | null>
}
template: {
list: () => Promise<unknown[]>