From 2298a2d3e93b3d3b53da72a21b22ff3d4c023283 Mon Sep 17 00:00:00 2001 From: Kai Date: Thu, 26 Aug 2021 15:49:26 +0800 Subject: [PATCH] =?UTF-8?q?1.=20=E9=9B=BB=E7=AB=99=E4=BA=A4=E5=8F=89?= =?UTF-8?q?=E5=88=86=E6=9E=90=20bug=20fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SolarPower/Views/AnalysisStationInfo/Index.cshtml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/SolarPower/Views/AnalysisStationInfo/Index.cshtml b/SolarPower/Views/AnalysisStationInfo/Index.cshtml index 3ee51fd..bde9d1d 100644 --- a/SolarPower/Views/AnalysisStationInfo/Index.cshtml +++ b/SolarPower/Views/AnalysisStationInfo/Index.cshtml @@ -430,13 +430,11 @@ default_compare_col.push($(this).val()); } } else { - if ($.inArray($(this).val(), default_compare_col) > 0) { + if ($.inArray($(this).val(), default_compare_col) > -1) { default_compare_col.splice($.inArray($(this).val(), default_compare_col), 1); } } - console.log("default_compare_col", default_compare_col) - ReloadHighCharts(); });