From 3e974a30d021d16d374eae765a9aac398f96e341 Mon Sep 17 00:00:00 2001 From: wang_fan_w <2547096351@qq.com> Date: Sat, 18 May 2024 19:56:57 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E9=A6=96=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/home/components/monthly-analysis.vue | 5 ----- src/views/home/components/sell-histogram.vue | 6 ------ src/views/home/home.vue | 18 +++++++++++++++++- 3 files changed, 17 insertions(+), 12 deletions(-) diff --git a/src/views/home/components/monthly-analysis.vue b/src/views/home/components/monthly-analysis.vue index 146efc1..b01869e 100644 --- a/src/views/home/components/monthly-analysis.vue +++ b/src/views/home/components/monthly-analysis.vue @@ -47,11 +47,6 @@ const init = () => { } } }, - title: { - visible: true, - text: "现金分析", - subtext: "单位:万元" - }, legends: { visible: true, orient: "left" diff --git a/src/views/home/components/sell-histogram.vue b/src/views/home/components/sell-histogram.vue index 1fe0ea7..0c72c53 100644 --- a/src/views/home/components/sell-histogram.vue +++ b/src/views/home/components/sell-histogram.vue @@ -34,12 +34,6 @@ const init = () => { xField: "month", yField: "sales", barWidth: 10, - title: { - visible: true, - textType: "text", - text: "销售额趋势", - subtext: "单位:万元" - }, barGapInGroup: 0 }; let dom = sellHistogram.value; diff --git a/src/views/home/home.vue b/src/views/home/home.vue index c9ec68f..7c636bb 100644 --- a/src/views/home/home.vue +++ b/src/views/home/home.vue @@ -69,9 +69,17 @@
+
+ 销售额趋势 + 单位:元 +
+
+ 现金分析 + 单位:元 +
@@ -184,7 +192,6 @@ const financeData = ref([