diff --git a/src/views/floodSys/floodYP/historyEventDetail.vue b/src/views/floodSys/floodYP/historyEventDetail.vue index 6161d55..bede4b2 100644 --- a/src/views/floodSys/floodYP/historyEventDetail.vue +++ b/src/views/floodSys/floodYP/historyEventDetail.vue @@ -122,7 +122,7 @@ }); chartOption.option4.xAxis.data = xData; chartOption.option4.series[0].data = yData; - chartOption.option4.yAxis.max = Math.max(...yData); + chartOption.option4.yAxis[0].max = Math.max(...yData) + 0.2; if (xData.length > 0) { chartOption.option4.graphic.invisible = true; } else { diff --git a/src/views/floodSys/floodYP/historyEventDetail.vue b/src/views/floodSys/floodYP/historyEventDetail.vue index 6161d55..bede4b2 100644 --- a/src/views/floodSys/floodYP/historyEventDetail.vue +++ b/src/views/floodSys/floodYP/historyEventDetail.vue @@ -122,7 +122,7 @@ }); chartOption.option4.xAxis.data = xData; chartOption.option4.series[0].data = yData; - chartOption.option4.yAxis.max = Math.max(...yData); + chartOption.option4.yAxis[0].max = Math.max(...yData) + 0.2; if (xData.length > 0) { chartOption.option4.graphic.invisible = true; } else { diff --git a/src/views/longoPeration/Patrolmanagement/pop-upbox.vue b/src/views/longoPeration/Patrolmanagement/pop-upbox.vue index 059c2f0..cda4aaa 100644 --- a/src/views/longoPeration/Patrolmanagement/pop-upbox.vue +++ b/src/views/longoPeration/Patrolmanagement/pop-upbox.vue @@ -1,7 +1,7 @@