|
@@ -98,7 +98,7 @@ export default {
|
|
|
questionNum: 5,
|
|
questionNum: 5,
|
|
|
knowledgeId: this.selectedKnowledgeIdList
|
|
knowledgeId: this.selectedKnowledgeIdList
|
|
|
}).then(res => {
|
|
}).then(res => {
|
|
|
- this.questions = res.map(question => ({
|
|
|
|
|
|
|
+ this.questions = res.filter(_ => _ !== null).map(question => ({
|
|
|
...question,
|
|
...question,
|
|
|
studentAnswer: { answer: '' }
|
|
studentAnswer: { answer: '' }
|
|
|
}))
|
|
}))
|