Commit 7bc09a36 by 陈超

A

parent fbc9b1e1
...@@ -468,6 +468,7 @@ ...@@ -468,6 +468,7 @@
selected: false selected: false
}) })
} }
console.log("call")
return array return array
}, },
//选择题答案 //选择题答案
...@@ -523,11 +524,8 @@ ...@@ -523,11 +524,8 @@
}) })
}, },
onChoose: function(opt) { onChoose: function(opt) {
console.log(this.currentQuestionTypeKey)
if(this.currentQuestionTypeKey == 'radio') { if(this.currentQuestionTypeKey == 'radio') {
this.currentOptions.forEach( r => { this.currentOptions.forEach( r => {
console.log(r)
console.log(opt)
r.selected = opt.key == r.key r.selected = opt.key == r.key
}) })
} }
......
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