fix: 阅卷使用评分标准字段 & 阅卷后不清空评分标准

This commit is contained in:
2026-07-16 06:14:12 +08:00
parent 748140a017
commit 8dde1243d8
3 changed files with 2 additions and 10 deletions
+2 -4
View File
@@ -33,11 +33,9 @@ onMounted(async () => {
const data = await window.electronAPI?.grading.getData()
if (data) {
if (data.image) gradingStore.setImage(data.image)
if (data.rubric) gradingStore.setRubric(data.rubric)
if (data.questions) gradingStore.setQuestions(data.questions)
if (data.result) gradingStore.setResult(data.result)
if (data.questionTitle) gradingStore.setQuestionTitle(data.questionTitle)
if (data.maxScore) gradingStore.setMaxScore(data.maxScore)
if (data.referenceAnswer) gradingStore.setReferenceAnswer(data.referenceAnswer)
if (data.currentQuestionIndex !== undefined) gradingStore.setCurrentQuestionIndex(data.currentQuestionIndex)
}
appStore.openResultDrawer()
} else if (dialogType) {