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

甘特图框架清空问题

yuhan преди 1 година
родител
ревизия
251d389078
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      itdmWeb/src/components/module-iTDM/uGantt/index.vue

+ 1 - 1
itdmWeb/src/components/module-iTDM/uGantt/index.vue

@@ -125,8 +125,8 @@
       taskLists: {
         handler(newValue, oldValue){
           console.log(newValue, oldValue)
+          this.changeTableTree()
           if(newValue.length > 0){
-            this.changeTableTree()
             this.getStartEndTime()
             this.$nextTick(() => {
               this.uGanttDrag()