dusenyao %!s(int64=3) %!d(string=hai) anos
pai
achega
0ffed44980
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      src/components/live/CurMaterial.vue

+ 4 - 0
src/components/live/CurMaterial.vue

@@ -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,