diff --git a/src/components/chart.vue b/src/components/chart.vue index 3369cd2..fcfce02 100644 --- a/src/components/chart.vue +++ b/src/components/chart.vue @@ -48,7 +48,7 @@ const resize = () => { if (resizeTime.value) { resizeTime.value = false; if (option.value && chartRef.value) { - chartRef.value.resize(); + // chart.value.resize(); } setTimeout(() => { resizeTime.value = true; diff --git a/src/views/ems/report/currentIOTCurve/index.vue b/src/views/ems/report/currentIOTCurve/index.vue index 3a71ee8..e9e013a 100644 --- a/src/views/ems/report/currentIOTCurve/index.vue +++ b/src/views/ems/report/currentIOTCurve/index.vue @@ -187,7 +187,7 @@ async function getChart() { right: 0 }, grid: { - top: '15%', + top: '40', bottom: '10%', left: '3%', right: '3%'