Parcourir la source

甘特图月视图调整

fujunwen il y a 4 ans
Parent
commit
15684628f9
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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;
   // 任务矩形高度