multichoise fix
This commit is contained in:
parent
40cf58a433
commit
163a936962
|
@ -8,6 +8,8 @@
|
|||
export let myAnswer
|
||||
|
||||
let myAnswers = new Array(checkPoint.CPOptions.length).fill(false)
|
||||
export let clear = false
|
||||
$: if (clear) myAnswers = new Array(checkPoint.CPOptions.length).fill(false)
|
||||
$: myAnswer = checkPoint.CPOptions.filter((item, i) => {
|
||||
if (myAnswers[i] === true) return item
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue