src/views/visualization/list/chart.vue
@@ -116,6 +116,12 @@ } const myChart = echarts.init(id); var option = { grid: { left: "10%", top: "10%", right: "5%", bottom: "25%", }, title: { text: "", textStyle: { @@ -163,7 +169,7 @@ option && myChart.setOption(option); }, setEchartChange(res) { this.roadItem = res.val[0] this.showEchart(); @@ -189,7 +195,7 @@ color: #fff; width: 100%; height: 45px; line-height: 45px; line-height: 30px; background-size: 100% 100%; background-repeat: no-repeat; }