Преглед на файлове

fix:风机组件维护

chenxinlei преди 2 години
родител
ревизия
fbde61c416
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/views/stationConfiguration/windterbin/components/TableEdit.vue

+ 1 - 1
src/views/stationConfiguration/windterbin/components/TableEdit.vue

@@ -124,7 +124,6 @@ export default {
     }
   },
   created() {
-    this.getTree()
   },
   methods: {
     windpowerstationidChange(data){
@@ -145,6 +144,7 @@ export default {
       })
     },
     showEdit(row) {
+      this.getTree()
       if (!row) {
         this.title = '添加'
         this.idAdd = true