From 91aa7411d94940948effc2b7c62448737b2dc186 Mon Sep 17 00:00:00 2001
From: AfyerCu <20569838@qq.com>
Date: Fri, 26 Sep 2025 00:03:32 +0800
Subject: [PATCH] =?UTF-8?q?refactor:=20=E5=AF=B9=E6=8E=A5=E6=A0=87?=
=?UTF-8?q?=E5=87=86=E7=AD=94=E6=A1=88?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../components/dialog/AnswerDialog.vue | 54 +------------------
src/pages/marking/grading.vue | 1 +
2 files changed, 3 insertions(+), 52 deletions(-)
diff --git a/src/components/marking/components/dialog/AnswerDialog.vue b/src/components/marking/components/dialog/AnswerDialog.vue
index 2093dd0..0a9d2d7 100644
--- a/src/components/marking/components/dialog/AnswerDialog.vue
+++ b/src/components/marking/components/dialog/AnswerDialog.vue
@@ -2,19 +2,10 @@
@@ -90,7 +40,7 @@ function switchTab(tab: 'answer' | 'standard' | 'sample') {
- 答案
+ {{ standardAnswer || '暂无标准答案' }}
diff --git a/src/pages/marking/grading.vue b/src/pages/marking/grading.vue
index 8f95ef8..0b57355 100644
--- a/src/pages/marking/grading.vue
+++ b/src/pages/marking/grading.vue
@@ -286,6 +286,7 @@ function handleQuickScoreSelect(score: number) {
v-model="showAnswer"
:question-title="`${currentQuestion?.question_major}.${currentQuestion?.question_minor}`"
:full-score="currentQuestion?.full_score"
+ :standard-answer="currentQuestion?.standard_answer"
/>