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;