소스 검색

删除作业立即保存数据

11wqe1 1 년 전
부모
커밋
d2148c65c4
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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();
     }
   },