diff --git a/src/views/Exam/index.vue b/src/views/Exam/index.vue
index f2ac142..5b5fb27 100644
--- a/src/views/Exam/index.vue
+++ b/src/views/Exam/index.vue
@@ -14,7 +14,7 @@
-
{{ currentQuestion.questionContent }}
+
{{ currentQuestion.questionContent || '' }}
@@ -121,7 +121,7 @@ function next() {
questionNum.value++
if (questionNum.value >= questionList.value.length) {
- questionNum.value = questionList.value.length
+ questionNum.value = questionList.value.length - 1
}
currentQuestion.value = questionList.value[questionNum.value]
@@ -218,8 +218,8 @@ async function submit() {
.subject-content {
margin-left: 50px;
margin-top: 30px;
- height: 550px;
- max-height: 550px;
+ height: 450px;
+ max-height: 450px;
.subject-title {
text-align: center;