From c4b49d08cef0805e17646eef03e1c1a62316c3b2 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期六, 05 十一月 2022 10:41:52 +0800
Subject: [PATCH] 1.产能规划优化
---
src/lib/v-gantt-chart/lib/gantt.vue | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/lib/v-gantt-chart/lib/gantt.vue b/src/lib/v-gantt-chart/lib/gantt.vue
index 7334293..850cdf4 100644
--- a/src/lib/v-gantt-chart/lib/gantt.vue
+++ b/src/lib/v-gantt-chart/lib/gantt.vue
@@ -77,15 +77,15 @@
:startTimeOfRenderArea="startTimeOfRenderArea"
:endTimeOfRenderArea="endTimeOfRenderArea"
:style="{width:totalWidth+'px'}">
-
- <!-- <template slot-scope="{data,item}">
+
+ <!-- <template slot-scope="{data,item}">
<slot name="block"
:data="data"
:item="item">
</slot>
</template> -->
- <template
+ <template
slot-scope="{data,item,getPositonOffset,getWidthAbout2Times,isInRenderingTimeRange}">
<slot name="block"
:data="data"
@@ -96,7 +96,7 @@
:startTimeOfRenderArea="startTimeOfRenderArea"
:endTimeOfRenderArea="endTimeOfRenderArea"></slot>
</template>
-
+
</blocks>
</div>
</div>
--
Gitblit v1.9.3