页面调整,删除无用的代码
This commit is contained in:
parent
5e9bc87311
commit
835b548ca8
|
@ -96,7 +96,7 @@
|
|||
</a-checkbox-group>
|
||||
<a-card title="答案解析" :bordered="false">
|
||||
<a-textarea placeholder="" :rows="6" v-model="multiselect.asnwerParse" style="width: 100%" />
|
||||
</a-card>ge
|
||||
</a-card>
|
||||
</a-tab-pane>
|
||||
|
||||
<!-- 判断题 -->
|
||||
|
@ -196,7 +196,6 @@ export default {
|
|||
if(this.multiselect.rightAnswers) this.checkedValues = this.multiselect.rightAnswers.split('')
|
||||
console.log('arr',this.checkedValues)
|
||||
this.multiselect.disabled = false
|
||||
this.getRightAnswer()
|
||||
} else if (this.tabKey == '3') {
|
||||
this.estimate = res.data
|
||||
this.estimate.disabled = false
|
||||
|
@ -416,13 +415,6 @@ export default {
|
|||
return from
|
||||
},
|
||||
|
||||
// 获取多选题的正确答案
|
||||
getRightAnswer() {
|
||||
if (this.multiselect.rightAnswers.indexOf('A') > -1) this.multiselect.a = true
|
||||
if (this.multiselect.rightAnswers.indexOf('B') > -1) this.multiselect.b = true
|
||||
if (this.multiselect.rightAnswers.indexOf('C') > -1) this.multiselect.c = true
|
||||
if (this.multiselect.rightAnswers.indexOf('D') > -1) this.multiselect.d = true
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
|
Loading…
Reference in New Issue