页面调整,删除无用的代码

This commit is contained in:
18571350067 2021-11-30 10:17:10 +08:00
parent 5e9bc87311
commit 835b548ca8
1 changed files with 1 additions and 9 deletions

View File

@ -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>