jingyuanchao 2 лет назад
Родитель
Сommit
333cb44098
1 измененных файлов с 1 добавлено и 7 удалено
  1. 1 7
      src/views/core/drill/task/dialog.perform.vue

+ 1 - 7
src/views/core/drill/task/dialog.perform.vue

@@ -145,7 +145,6 @@ export default {
       };
     },
     async refresh(id, other) {
-      this.initDrillTypeOptions();
       if (!id) {
         this.reset(other);
         return;
@@ -310,14 +309,9 @@ export default {
         console.log("trainingEndDateTime", this.formData.trainingEndDateTime)
       }
     },
-    initDrillTypeOptions() {
-      initList().then(response => {
-        this.drillTypeOptions = response.data;
-      })
-    }
   },
   mounted() {
-    this.initDrillTypeOptions()
+
   },
 };
 </script>