|
@@ -84,12 +84,13 @@ export default {
|
|
|
month: (that.recorddate ? (new Date(that.recorddate).getMonth() + 1) : ""),
|
|
|
},
|
|
|
success (res) {
|
|
|
- let ChartData = [{
|
|
|
+ let chartData = [{
|
|
|
title: "风资源分析",
|
|
|
value: (res.data || [])
|
|
|
}];
|
|
|
- that.ChartData = ChartData;
|
|
|
- console.log(123123, ChartData);
|
|
|
+ that.$nextTick(()=>{
|
|
|
+ that.chartData = chartData;
|
|
|
+ });
|
|
|
}
|
|
|
});
|
|
|
},
|