Explorar o código

甘特图月视图调整

fujunwen %!s(int64=4) %!d(string=hai) anos
pai
achega
15684628f9
Modificáronse 1 ficheiros con 1 adicións e 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.dragTimer = null;
   // 每天的间隔宽度
   // 每天的间隔宽度
-  this.dayStep = parseInt(this.cWidth/365*2/3);
+  this.dayStep = parseInt(this.cWidth/365);
   // 分组标题高度
   // 分组标题高度
   this.groupTitleHeight = 18;
   this.groupTitleHeight = 18;
   // 任务矩形高度
   // 任务矩形高度