Browse Source

ugantt数据为空的状态判断

yuhan 1 year ago
parent
commit
2b164d1d24
1 changed files with 2 additions and 0 deletions
  1. 2 0
      itdmWeb/src/components/module-iTDM/uGantt/index.vue

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

@@ -147,6 +147,8 @@
             // this.$forceUpdate()
           } else {
             console.log(this.setDefaultDate())
+            this.tableData = []
+            this.ganttLists = []
             this.uGanttColumns = this.setDefaultDate()
           }
         },