Commit b57bfa38 authored by 邓晓峰's avatar 邓晓峰

fix: remove debugger console

parent 68bd72f9
Pipeline #48043 skipped with stages
...@@ -3,7 +3,6 @@ function cleanRequireCache(paths) { ...@@ -3,7 +3,6 @@ function cleanRequireCache(paths) {
Object.keys(require.cache).forEach(file => { Object.keys(require.cache).forEach(file => {
if (paths.some(p => winPath(file).indexOf(p) > -1)) { if (paths.some(p => winPath(file).indexOf(p) > -1)) {
console.log(file);
delete require.cache[file]; delete require.cache[file];
} }
}); });
......
...@@ -11,7 +11,6 @@ const pkg = require('../../../package.json'); ...@@ -11,7 +11,6 @@ const pkg = require('../../../package.json');
const { renderRoutes } = helpers; const { renderRoutes } = helpers;
const config = require('../../../config/config'); const config = require('../../../config/config');
function App(props) { function App(props) {
console.log(props);
const metaSecurity = /https/.test(window.location.protocol) ? ( const metaSecurity = /https/.test(window.location.protocol) ? (
<meta httpEquiv="Content-Security-Policy" content="upgrade-insecure-requests" /> <meta httpEquiv="Content-Security-Policy" content="upgrade-insecure-requests" />
) : null; ) : null;
......
...@@ -128,7 +128,6 @@ export const initGlobalConfig = () => { ...@@ -128,7 +128,6 @@ export const initGlobalConfig = () => {
render({ appContent: '', loading: true }); render({ appContent: '', loading: true });
}) })
.catch(error => { .catch(error => {
console.log(error);
store.dispatch(actionCreators.getConfigError(error)); store.dispatch(actionCreators.getConfigError(error));
}); });
}); });
......
...@@ -19,7 +19,6 @@ class SecurityLayout extends React.Component { ...@@ -19,7 +19,6 @@ class SecurityLayout extends React.Component {
} }
componentWillReceiveProps(nextProps) { componentWillReceiveProps(nextProps) {
debugger
const products = (this.props.global.products || []).map(item => { const products = (this.props.global.products || []).map(item => {
if (item.PackageName === 'civweb4') { if (item.PackageName === 'civweb4') {
return 'web4_console' return 'web4_console'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment