考试错题详情,判断和多选没有正确显示问题

pg_adapter
dshclm 9 months ago
parent dea8c91986
commit 41a8fb12b0

@ -32,11 +32,11 @@
<div class="qu-content"> <div class="qu-content">
<p>【{{ quData.quType===1?'单选题':'多选题' }}】{{ quData.content }}</p> <p>【{{ quData.quType===1?'单选题':'判断题' }}】{{ quData.content }}</p>
<p v-if="quData.image!=null && quData.image!=''"> <p v-if="quData.image!=null && quData.image!=''">
<el-image :src="quData.image" style="max-width:80%;" ></el-image> <el-image :src="quData.image" style="max-width:80%;" ></el-image>
</p> </p>
<div v-if="quData.quType === 1"> <div v-if="quData.quType === 1 || quData.quType === 3">
<el-radio-group v-model="radioValues" readonly> <el-radio-group v-model="radioValues" readonly>
<el-radio v-for="an in quData.answerList" :key="an.id" :label="an.id" readonly>{{ an.content }}</el-radio> <el-radio v-for="an in quData.answerList" :key="an.id" :label="an.id" readonly>{{ an.content }}</el-radio>
</el-radio-group> </el-radio-group>
@ -106,7 +106,7 @@
// 用户选定的 // 用户选定的
if (an.isRight) { if (an.isRight) {
if (that.quData.quType === 1) { if (that.quData.quType === 1 || that.quData.quType === 3) {
that.radioValues = an.id that.radioValues = an.id
} else { } else {
that.multiValues.push(an.id) that.multiValues.push(an.id)

Loading…
Cancel
Save