Sfoglia il codice sorgente

删除作业立即保存数据

11wqe1 1 anno fa
parent
commit
d2148c65c4
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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();
     }
   },