|
@@ -257,7 +257,7 @@
|
|
return score;
|
|
return score;
|
|
}
|
|
}
|
|
} else if (question.kind === 'SHORT') {
|
|
} else if (question.kind === 'SHORT') {
|
|
- let score = 0;
|
|
|
|
|
|
+ /*let score = 0;
|
|
if (this.row.user_answers && this.row.user_answers[questionIndex]) {
|
|
if (this.row.user_answers && this.row.user_answers[questionIndex]) {
|
|
|
|
|
|
if (this.row.user_answers[questionIndex].answer_score) {
|
|
if (this.row.user_answers[questionIndex].answer_score) {
|
|
@@ -268,7 +268,10 @@
|
|
}
|
|
}
|
|
// return this.row.user_answers[questionIndex].answer.join(',');
|
|
// return this.row.user_answers[questionIndex].answer.join(',');
|
|
}
|
|
}
|
|
- return score;
|
|
|
|
|
|
+ return score;*/
|
|
|
|
+ if (this.row.user_answers[questionIndex].is_right) {
|
|
|
|
+ return score;
|
|
|
|
+ }
|
|
} else {
|
|
} else {
|
|
if (this.row.user_answers[questionIndex].answer === question.answer) {
|
|
if (this.row.user_answers[questionIndex].answer === question.answer) {
|
|
return score;
|
|
return score;
|