|
@@ -644,6 +644,7 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
getExerciseName(type, question_type, additional_type) {
|
|
|
+ if (this.questionList.length <= 0) return;
|
|
|
if (type === 'cur') {
|
|
|
if (this.curQuestionIndex < 0) return '';
|
|
|
let { type: _type, additional_type: _additional_type } = this.questionList[this.curQuestionIndex];
|