From 68e417e94ab4c97e13d24522d748fc032f4865af Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期一, 07 十一月 2022 16:38:29 +0800
Subject: [PATCH] 1.工艺路线新增复制功能2.节拍工价编辑问题处理
---
src/lib/v-gantt-chart/lib/components/time-line/index.vue | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/lib/v-gantt-chart/lib/components/time-line/index.vue b/src/lib/v-gantt-chart/lib/components/time-line/index.vue
index 1c069e1..580ba14 100644
--- a/src/lib/v-gantt-chart/lib/components/time-line/index.vue
+++ b/src/lib/v-gantt-chart/lib/components/time-line/index.vue
@@ -150,14 +150,14 @@
throw new TypeError('閿欒鐨勮绠楃被鍨�')
}
while (!a.isAfter(b)) {
- if (scale >= 60) {
- totalblock.push(a.format('HH'))
- } else {
- totalblock.push(a.format('HH:mm'))
- }
+ // if (scale >= 60) {
+ // totalblock.push(a.format('HH'))
+ // } else {
+ totalblock.push(a.format('HH:mm'))
+ // }
a = a.add(scale, 'minute')
}
-
+ // console.log(1, totalblock)
return totalblock
}
}
--
Gitblit v1.9.3