金林湾大屏(echarts组件):默认值处理

This commit is contained in:
骆乐 2022-09-13 13:54:56 +08:00
parent 26f85cabfb
commit 896b7f8f13
4 changed files with 4 additions and 3 deletions

BIN
dist.zip

Binary file not shown.

View File

@ -115,7 +115,7 @@ export default {
};
},
doing() {//
this.series[1].startAngle = this.series[1].startAngle - 5;
this.series[0].startAngle = this.series[0].startAngle - 5;
this.myChart.setOption(this.option);
},
},

View File

@ -23,7 +23,8 @@ export default {
data() {
return {
yData: [],
seriesData: [100, 235, 232, 532, 112, 532, 449, 269, 998, 33]
// seriesData: [100, 235, 232, 532, 112, 532, 449, 269, 998, 33]
seriesData: []
}
},
mounted() {

View File

@ -51,7 +51,7 @@ export default {
color: #c5c7cc;
.num1 {
position: absolute;
top: 45%;
top: 40%;
left: 43%;
}
.text {