From 5b1c99780e2a64f08640c835799f056f85f5fbb0 Mon Sep 17 00:00:00 2001 From: moon-GD Date: Wed, 22 Feb 2023 14:24:25 +0900 Subject: [PATCH] =?UTF-8?q?hotfix:console.log=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/src/main/resources/static/index.html | 12 ++++++------ frontEnd/public/js/mapView/HelperFunction.js | 2 +- frontEnd/public/js/mapView/SearchFunction.js | 2 +- frontEnd/public/js/mapView/chart.js | 2 -- frontEnd/public/js/myPage/userDetail/event.js | 1 - 5 files changed, 8 insertions(+), 11 deletions(-) diff --git a/backend/src/main/resources/static/index.html b/backend/src/main/resources/static/index.html index 4b6c50f..fa7ab80 100644 --- a/backend/src/main/resources/static/index.html +++ b/backend/src/main/resources/static/index.html @@ -13,10 +13,10 @@ } }) .then(function (response) { - console.log(response.data); + }) .catch(function (error) { - console.log(error); + }); } @@ -27,10 +27,10 @@ withCredentials: true, }) .then(function (response) { - console.log(response.data); + }) .catch(function (error) { - console.log(error); + }); } @@ -41,10 +41,10 @@ withCredentials: true, }) .then(function (response) { - console.log(response.data); + }) .catch(function (error) { - console.log(error); + }); } diff --git a/frontEnd/public/js/mapView/HelperFunction.js b/frontEnd/public/js/mapView/HelperFunction.js index a1d57de..4efab2f 100644 --- a/frontEnd/public/js/mapView/HelperFunction.js +++ b/frontEnd/public/js/mapView/HelperFunction.js @@ -96,7 +96,7 @@ function SearchNearGasStation(){ } }, error:function(request, error){ - console.log("code:"+request.status + ", message:" + request.responseText + ", error:"+error); + } }); } diff --git a/frontEnd/public/js/mapView/SearchFunction.js b/frontEnd/public/js/mapView/SearchFunction.js index 981eaec..278f99b 100644 --- a/frontEnd/public/js/mapView/SearchFunction.js +++ b/frontEnd/public/js/mapView/SearchFunction.js @@ -29,7 +29,7 @@ function AdjustLocationToCurLocation(lon, lat){ curAddr[0].innerHTML = result; }, error : function(request, error) { - console.log("code:" + request.status + ", message:" + request.responseText + ", error:" + error); + } }); } diff --git a/frontEnd/public/js/mapView/chart.js b/frontEnd/public/js/mapView/chart.js index 67f6099..02ac4ea 100644 --- a/frontEnd/public/js/mapView/chart.js +++ b/frontEnd/public/js/mapView/chart.js @@ -17,13 +17,11 @@ function getChartData(Resultelem){ }, error:function(request, error){ ShowErrorMessageAtChartArea(); - console.log("code:"+request.status+"\n"+"message:"+request.responseText+"\n"+"error:"+error); } }); } function ShowChart(response){ - console.log(response); const dateLabels = []; const PREGasolineData = []; const GasolineData = []; diff --git a/frontEnd/public/js/myPage/userDetail/event.js b/frontEnd/public/js/myPage/userDetail/event.js index 75cd91f..7530975 100644 --- a/frontEnd/public/js/myPage/userDetail/event.js +++ b/frontEnd/public/js/myPage/userDetail/event.js @@ -9,7 +9,6 @@ const eventToUserDetailModifyBtn = ($container) => { () => { const modifiedGender = getGenderFromLabel($container); const modifiedAge = getAgeFromLabel($container); - console.log(modifiedGender, modifiedAge); fetchModifyUserDetail(modifiedGender, modifiedAge, $container); } ])