From 020e579c820fc1850313058b66485d33eeff2ab6 Mon Sep 17 00:00:00 2001 From: "LAPTOP-R6EHHS26\\86155" <2217640373@qq.com> Date: Mon, 22 Apr 2024 16:33:57 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E7=9C=8B=E6=9D=BF=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/dashboard/PieChart3.vue | 6 ++++-- src/views/index.vue | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/views/dashboard/PieChart3.vue b/src/views/dashboard/PieChart3.vue index 6eb9d3b..1ed3b36 100644 --- a/src/views/dashboard/PieChart3.vue +++ b/src/views/dashboard/PieChart3.vue @@ -88,13 +88,15 @@ export default { orient: "vartical", x: "left", top: "0%", - left: "32%", + left: "35%", bottom: "0%", data: xdata, itemWidth: 8, itemHeight: 8, itemGap: 16, - + textStyle: { + fontSize: 10, // 设置字体大小为14px + }, /*formatter:function(name){ var oa = option.series[0].data; var num = oa[0].value + oa[1].value + oa[2].value + oa[3].value+oa[4].value + oa[5].value + oa[6].value + oa[7].value+oa[8].value + oa[9].value ; diff --git a/src/views/index.vue b/src/views/index.vue index 34fb5f0..d64975b 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -268,7 +268,7 @@ export default { .app-container { background: #d8e9fd; height: calc(100vh - 84px); - overflow: hidden; + overflow-y: scroll; .top { width: 100%; display: flex;