Procházet zdrojové kódy

甘特图月视图调整

fujunwen před 4 roky
rodič
revize
15684628f9
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/utils/ganttChart/GanttChart_month.js

+ 1 - 1
src/utils/ganttChart/GanttChart_month.js

@@ -28,7 +28,7 @@ export function GanttChartMonth(options) {
   // 拖动定时器
   this.dragTimer = null;
   // 每天的间隔宽度
-  this.dayStep = parseInt(this.cWidth/365*2/3);
+  this.dayStep = parseInt(this.cWidth/365);
   // 分组标题高度
   this.groupTitleHeight = 18;
   // 任务矩形高度