diff --git a/src/AppConfig.js b/src/AppConfig.js index 406f6022..9388b124 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 || '' + window.location.search.indexOf('debug=a') != -1 ? 'admin' : parsed.debug || 'admin' } // 超管 // debugType="admin"; diff --git a/src/forge/Settings/Index.js b/src/forge/Settings/Index.js index a19b296e..7c20adee 100644 --- a/src/forge/Settings/Index.js +++ b/src/forge/Settings/Index.js @@ -22,7 +22,6 @@ const Collaborator = Loadable({ class Index extends Component{ render(){ const { projectsId } = this.props.match.params; - console.log(this.props); const { pathname } = this.props.history.location; const flag = (pathname === `/projects/${projectsId}/setting`); @@ -36,7 +35,7 @@ class Index extends Component{