Commit cd7f7cea authored by Damon's avatar Damon

refactor: 多选题显示逻辑调整

parent 40ad59b1
......@@ -127,8 +127,8 @@ export default {
this.answer = equar(checkedList, this.rightKey) ? 'pass' : 'fail'
// 处理显示逻辑
this.lists.forEach((v) => {
if (this.rightKey.includes(v.sort)) this.$set(v, 'checked', true)
if (v.checked) this.$set(v, 'confirm', true)
if (this.rightKey.includes(v.sort)) this.$set(v, 'checked', true)
})
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