From 72fd6cbea51457ebf411ef12b9de161019d1803b Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期二, 27 十二月 2022 14:03:35 +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