Browse Source

解决甘特图切换系统后 时间未初始化问题

fujunwen 4 years ago
parent
commit
0bf2dbf756
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/views/analysis/GanttChart.vue

+ 1 - 0
src/views/analysis/GanttChart.vue

@@ -355,6 +355,7 @@ export default {
       if (window.gc) {
         gc.gCanvas.destroy();
         window.gc = null;
+        this.initChartTime();
       }
       this.getGanttChartData();
     },