测评问题修复
This commit is contained in:
parent
b02388ff98
commit
64036db122
|
@ -14,7 +14,7 @@
|
|||
</div>
|
||||
|
||||
<div class="subject-content">
|
||||
<div class="subject-title">{{ currentQuestion.questionContent }}</div>
|
||||
<div class="subject-title">{{ currentQuestion.questionContent || '' }}</div>
|
||||
<el-radio-group v-model="currentQuestion.answerId" @change="handleChange">
|
||||
<el-radio size="large" border :value="item.answerId" v-for="item in currentQuestion.answerList"
|
||||
:key="item.answerId">
|
||||
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue