|
@@ -236,7 +236,10 @@ const handleSubmit = () => {
|
|
return
|
|
return
|
|
}
|
|
}
|
|
VoiceImpRef.value.videoPlay(
|
|
VoiceImpRef.value.videoPlay(
|
|
- TopicsVal.value[currentIndex.value].userAnswer === TopicsVal.value[currentIndex.value].correct ? 'right' : 'error'
|
|
|
|
|
|
+ TopicsVal.value[currentIndex.value].userAnswer === TopicsVal.value[currentIndex.value].correct[0] ||
|
|
|
|
+ TopicsVal.value[currentIndex.value].userAnswer === TopicsVal.value[currentIndex.value].correct[1]
|
|
|
|
+ ? 'right'
|
|
|
|
+ : 'error'
|
|
)
|
|
)
|
|
showSubmitBtn.value = false
|
|
showSubmitBtn.value = false
|
|
localStorage.setItem('two-win-auditory-word-img-matching-try-over', 'YES')
|
|
localStorage.setItem('two-win-auditory-word-img-matching-try-over', 'YES')
|
|
@@ -302,10 +305,10 @@ onMounted(() => {
|
|
showScoreArea.value = false
|
|
showScoreArea.value = false
|
|
scoreIndex.value = -1
|
|
scoreIndex.value = -1
|
|
tipsFlag.value = false
|
|
tipsFlag.value = false
|
|
- VoiceImpRef.value.videoPlay(
|
|
|
|
- 'Speech-Auditory',
|
|
|
|
- `static/voice/cognitiveAbility/SpeechTraining/Auditory/WordImgMatching/${TopicsVal.value[currentIndex.value].correct}.mp3`
|
|
|
|
- )
|
|
|
|
|
|
+ // VoiceImpRef.value.videoPlay(
|
|
|
|
+ // 'Speech-Auditory',
|
|
|
|
+ // `static/voice/cognitiveAbility/SpeechTraining/Auditory/WordImgMatching/${TopicsVal.value[currentIndex.value].correct}.mp3`
|
|
|
|
+ // )
|
|
localStorage.removeItem('tow-win-auditory-word-img-matching-show-topics')
|
|
localStorage.removeItem('tow-win-auditory-word-img-matching-show-topics')
|
|
}
|
|
}
|
|
|
|
|