Explorar el Código

甘特图月视图调整

fujunwen hace 4 años
padre
commit
15684628f9
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;
   // 任务矩形高度