Browse Source

甘特图框架清空问题

yuhan 1 year ago
parent
commit
251d389078
1 changed files with 1 additions and 1 deletions
  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()