From fd092e06af2d6af8dfae723378bb3dd1c0445173 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期四, 02 二月 2023 16:46:10 +0800
Subject: [PATCH] 1.自动排程页面优化

---
 src/lib/v-gantt-chart/lib/components/time-line/index.vue |   10 +++++-----
 1 files changed, 5 insertions(+), 5 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 580ba14..5e43426 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
@@ -13,8 +13,8 @@
         class="gantt-timeline-day "
         :style="heightStyle"
       >
-        {{ day.format("YYYY-MM-DD") }}
-        {{ getDayMy(day.format("YYYY-MM-DD")) }}
+        {{ day.format('YYYY-MM-DD') }}
+        {{ getDayMy(day.format('YYYY-MM-DD')) }}
       </div>
       <div
         class="gantt-timeline-scale"
@@ -22,8 +22,8 @@
         style="border-right: 1px solid #eee"
       >
         <div
-          v-for="(hour,index) in getTimeScales(day)"
-          :key="index"
+          v-for="(hour,ind) in getTimeScales(day)"
+          :key="ind"
           :style="cellWidthStyle"
         >
           {{ hour }}
@@ -164,7 +164,7 @@
 }
 </script>
 <style lang="scss" scoped>
-.gantt-timeline-day{
+.gantt-timeline-day {
   border-right: 1px solid #ebeef5;
   border-bottom: 1px solid #ebeef5;
   //background: rgb(245, 245, 245);

--
Gitblit v1.9.3