@@ -178,6 +178,10 @@ export default {
},
finishMyMaterial() {
+ if (this.exam_answer.length === 0) {
+ this.$message.warning('请完成课件');
+ return;
+ }
FinishMyMaterial({
task_id: this.taskId,
material_id: this.materialId,