Selaa lähdekoodia

删除作业立即保存数据

11wqe1 1 vuosi sitten
vanhempi
commit
d2148c65c4
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  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();
     }
   },