From b58dc818feacbfc6bf01453b0db8ad3306c8d6dd Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期二, 20 十二月 2022 10:37:18 +0800
Subject: [PATCH] 1.table表新增show-tooltip-when-overflow属性
---
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