Commit 45225586 authored by Facius's avatar Facius

Merge branch 'dev-v1.0.0' of https://git.banshouhui.com/wuzhenzhe/study into dev-v1.0.0

parents 18538b5b 4336834e
...@@ -127,8 +127,8 @@ export default { ...@@ -127,8 +127,8 @@ export default {
this.answer = equar(checkedList, this.rightKey) ? 'pass' : 'fail' this.answer = equar(checkedList, this.rightKey) ? 'pass' : 'fail'
// 处理显示逻辑 // 处理显示逻辑
this.lists.forEach((v) => { this.lists.forEach((v) => {
if (this.rightKey.includes(v.sort)) this.$set(v, 'checked', true)
if (v.checked) this.$set(v, 'confirm', true) if (v.checked) this.$set(v, 'confirm', true)
if (this.rightKey.includes(v.sort)) this.$set(v, 'checked', true)
}) })
this.submitAnswer() this.submitAnswer()
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment