From 09c8ba46b05a9a1bee6a7e2ded637c64422d13f5 Mon Sep 17 00:00:00 2001 From: wans <747101512@qq.com> Date: Fri, 18 Dec 2020 11:23:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=9B=BE=E8=A1=A8=E5=8A=A0?= =?UTF-8?q?=E8=BD=BD=E4=B8=8D=E5=87=BA=E6=9D=A5=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/static/default.html | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/main/resources/static/default.html b/src/main/resources/static/default.html index 150b255..1cf5246 100644 --- a/src/main/resources/static/default.html +++ b/src/main/resources/static/default.html @@ -148,6 +148,7 @@ }; var normalPopulationChart = echarts.init(document.getElementById('normalPopulation')); normalPopulationChart.setOption(option); + initSpecialPopulationECharts(); }, function(code, data) { top.dialog.message(data.msg); }); @@ -195,11 +196,11 @@ }; var specialPopulationChart = echarts.init(document.getElementById('specialPopulation')); specialPopulationChart.setOption(option); + initCategoryECharts(); }, function(code, data) { top.dialog.message(data.msg); }); } - initSpecialPopulationECharts(); //男女占比统计图 function initGenderECharts(){ @@ -295,9 +296,6 @@ var specialPopulationChart = echarts.init(document.getElementById('categoryCharts')); specialPopulationChart.setOption(option); } - setTimeout(function(){ - initCategoryECharts(); - },400); });