From e5472658db11d318cf2607d7e0a47460573da3f0 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期五, 18 十一月 2022 11:15:43 +0800
Subject: [PATCH] 1.设备保养项目、设备点检标准、设备保养标准导入接口提交

---
 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