From cee2eca9c3e40b48c40a8fe80f938a777f03d463 Mon Sep 17 00:00:00 2001 From: wwl <xchao828@163.com> Date: 星期二, 10 六月 2025 17:57:11 +0800 Subject: [PATCH] 1 --- src/views/index.vue | 15 ++++++++------- 1 files changed, 8 insertions(+), 7 deletions(-) diff --git a/src/views/index.vue b/src/views/index.vue index ce0393f..6b85e7c 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -158,8 +158,8 @@ yAxis: { type: 'value', min: 0, - max: 100, - interval: 5 + max: 400, + interval: 20 }, series: [ { @@ -183,7 +183,7 @@ ] }) - let sizeFun = function () { + let sizeFun = ()=> { myChart.resize() } window.addEventListener("resize", sizeFun) @@ -326,13 +326,14 @@ } }] }) - } - - - window.onresize = function () { + window.onresize = () =>{ myChart2.resize() myChart3.resize() } + } + + + this.loading = false; }); -- Gitblit v1.8.0