diff --git a/src/views/sponeScreen/waterFlood/rainFutureHour.vue b/src/views/sponeScreen/waterFlood/rainFutureHour.vue index bf4bf18..d471080 100644 --- a/src/views/sponeScreen/waterFlood/rainFutureHour.vue +++ b/src/views/sponeScreen/waterFlood/rainFutureHour.vue @@ -166,6 +166,7 @@ tempData.push(item.temp_fc); }); chartOption.value.xAxis.data = axisList; //x轴日期 + chartOption.value.yAxis[0].max = Math.max(...data1); chartOption.value.series[1].data = data1; //天气数据降雨量 chartOption.value.series[1].markPoint.data = markPointList; //天气标记点 chartOption.value.series[2].data = tempData; //温度数据