From 69faeb35dfa8272aebd9ae87babbde52f469f526 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com> Date: Tue, 15 Oct 2019 13:40:38 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/react/src/App.js | 4 ++-- public/react/src/modules/tpm/TPMIndexHOC.js | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/public/react/src/App.js b/public/react/src/App.js index c1cba8a2d..fd945914a 100644 --- a/public/react/src/App.js +++ b/public/react/src/App.js @@ -368,8 +368,8 @@ class App extends Component { getAppdata=()=>{ let url = "/setting.json"; axios.get(url).then((response) => { - console.log("app.js开始请求/setting.json"); - console.log("获取当前定制信息"); + // console.log("app.js开始请求/setting.json"); + // console.log("获取当前定制信息"); if(response){ if(response.data){ this.setState({ diff --git a/public/react/src/modules/tpm/TPMIndexHOC.js b/public/react/src/modules/tpm/TPMIndexHOC.js index 0dfb0f16a..ad3f517d7 100644 --- a/public/react/src/modules/tpm/TPMIndexHOC.js +++ b/public/react/src/modules/tpm/TPMIndexHOC.js @@ -201,8 +201,8 @@ export function TPMIndexHOC(WrappedComponent) { axios.get(url, { }).then((response) => { - console.log("开始请求/get_navigation_info.json"); - console.log(response); + // console.log("开始请求/get_navigation_info.json"); + // console.log(response); if(response!=undefined){ if(response.status===200){ this.setState({ @@ -288,8 +288,8 @@ export function TPMIndexHOC(WrappedComponent) { getAppdata=()=>{ let url = "/setting.json"; axios.get(url).then((response) => { - console.log("app.js开始请求/setting.json"); - console.log("获取当前定制信息"); + // console.log("app.js开始请求/setting.json"); + // console.log("获取当前定制信息"); if(response){ if(response.data){ this.setState({