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
+3 -1
View File
@@ -50,7 +50,9 @@ contextBridge.exposeInMainWorld('electronAPI', {
rubric: {
storeData: (data: any) => ipcRenderer.invoke('rubric:storeData', data),
getData: () => ipcRenderer.invoke('rubric:getData')
getData: () => ipcRenderer.invoke('rubric:getData'),
exportJson: () => ipcRenderer.invoke('rubric:exportJson'),
importJson: () => ipcRenderer.invoke('rubric:importJson')
},
template: {