Bläddra i källkod

删除作业立即保存数据

11wqe1 1 år sedan
förälder
incheckning
d2148c65c4
1 ändrade filer med 2 tillägg och 0 borttagningar
  1. 2 0
      src/components/pages/pblCourse/index.vue

+ 2 - 0
src/components/pages/pblCourse/index.vue

@@ -374,6 +374,8 @@ Instruction: Based on the context, follow "Format example", write content.
     },
     deleteFile(index) {
       this.taskList[this.phase.atPhase].fileList.splice(index, 1);
+      this.saveTopic();
+      // this.savaDoIndex();
       this.$forceUpdate();
     }
   },