From 81e54a2f94f382bcb9838c8dd79c5119b8e8f14f Mon Sep 17 00:00:00 2001
From: Gary Gu <garygu@Garydebijibendiannao.local>
Date: Tue, 03 Jun 2025 11:44:41 +0800
Subject: [PATCH] feat: 优化无数据显示

---
 src/components/Gantt.vue |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/components/Gantt.vue b/src/components/Gantt.vue
index 984ee96..9d73196 100644
--- a/src/components/Gantt.vue
+++ b/src/components/Gantt.vue
@@ -253,6 +253,8 @@
               setTimeout(() => {
                 this.clickdataAll();
               }, 1000);
+            } else {
+              gantt.clearAll();
             }
           }
         });

--
Gitblit v1.9.3