diff --git a/src/AppConfig.js b/src/AppConfig.js index 68dd5439a..d0955ca6e 100644 --- a/src/AppConfig.js +++ b/src/AppConfig.js @@ -39,7 +39,7 @@ if (isDev) { } debugType = window.location.search.indexOf('debug=t') != -1 ? 'teacher' : window.location.search.indexOf('debug=s') != -1 ? 'student' : - window.location.search.indexOf('debug=a') != -1 ? 'admin' : parsed.debug || 'admin' + window.location.search.indexOf('debug=a') != -1 ? 'admin' : parsed.debug || '' } // 超管 // debugType="admin"; diff --git a/src/forge/Index.js b/src/forge/Index.js index e76fd4d9f..893cfc2f3 100644 --- a/src/forge/Index.js +++ b/src/forge/Index.js @@ -33,14 +33,8 @@ const ProjectDetail = Loadable({ }) class Index extends Component{ - constructor(props){ - super(props); - } - - render(){ - console.log("123",this.props); return(