From 2706a5357282cee53e560d512f9069b0a95ad2ea Mon Sep 17 00:00:00 2001 From: wangh <123456> Date: Tue, 23 Jul 2024 14:01:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20b=E8=B6=8B=E5=8A=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- haiwei-admin/src/main/resources/templates/board/board3.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/haiwei-admin/src/main/resources/templates/board/board3.html b/haiwei-admin/src/main/resources/templates/board/board3.html index 19a6c9f..a38c65c 100644 --- a/haiwei-admin/src/main/resources/templates/board/board3.html +++ b/haiwei-admin/src/main/resources/templates/board/board3.html @@ -107,11 +107,12 @@ } params.timeInterval=$('#timeInterval1').val(); $.get(ctx + 'broad/home/queryParamListB', params, (e) => { - if (e.data.length > 0) { + let data1 = e.data; + if (data1.length > 0) { $('#chart1').remove() $("#modal1 .centerModal .centerModalInfo").append('
') chart = null - chart1(document.getElementById('chart1'), data) + chart1(document.getElementById('chart1'), data1) } else { $("#chart1").html(`