From 750fe74ceca55b9fc7764a4b82981072858a570c Mon Sep 17 00:00:00 2001
From: VVT789 <sdxt_0802@163.com>
Date: 星期二, 08 四月 2025 16:16:37 +0800
Subject: [PATCH] Merge branch 'develop1.0' of https://github.com/zhitan-cloud/zhitan-ems into develop1.0

---
 zhitan-vue/src/components/Echarts/LineChart.vue |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/zhitan-vue/src/components/Echarts/LineChart.vue b/zhitan-vue/src/components/Echarts/LineChart.vue
index c4c0de6..8a1f434 100644
--- a/zhitan-vue/src/components/Echarts/LineChart.vue
+++ b/zhitan-vue/src/components/Echarts/LineChart.vue
@@ -59,7 +59,7 @@
     name: item.name,
     type: props.chartType, // 鏍规嵁浼犲叆绫诲瀷娓叉煋
     data: item.data,
-    barWidth: "16",
+    barWidth: props.chartData.barWidth || "16",
     itemStyle: {
       borderRadius: [15, 15, 0, 0],
     },
@@ -68,7 +68,7 @@
   console.log("initChart", series)
   let option = {
     title: {
-      // text: props.chartData.title,
+      text: props.chartData.title || "",
       left: "40",
       textStyle: {
         color: "#2979ff",

--
Gitblit v1.9.3