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

fix: clear debugger

parent d5e046ae
Pipeline #41299 skipped with stages
...@@ -14,12 +14,9 @@ import { ConfigProvider} from 'antd'; ...@@ -14,12 +14,9 @@ import { ConfigProvider} from 'antd';
import { Storeage } from 'kit_utils'; import { Storeage } from 'kit_utils';
import { history } from '@wisdom-utils/runtime'; import { history } from '@wisdom-utils/runtime';
import { actionCreators } from './containers/App/store'; import { actionCreators } from './containers/App/store';
// import { initMicroApps } from './micro';
import { initGlobalConfig } from './initConfig' import { initGlobalConfig } from './initConfig'
import './utils/event'; import './utils/event';
import store from './stores' import store from './stores'
// import Cookies from 'js-cookie';
// eslint-disable-next-line no-restricted-globals
const namespace = `__PANDA_STORE__${location.hostname}`; const namespace = `__PANDA_STORE__${location.hostname}`;
window.createStoreage = new Storeage(namespace); window.createStoreage = new Storeage(namespace);
ConfigProvider.config({ ConfigProvider.config({
......
...@@ -76,7 +76,7 @@ export const initialState = fromJS({ ...@@ -76,7 +76,7 @@ export const initialState = fromJS({
const appReducer = (state = initialState, action) => { const appReducer = (state = initialState, action) => {
switch (action.type) { switch (action.type) {
case GET_CONFIG: case GET_CONFIG:
debugger
// eslint-disable-next-line no-debugger // eslint-disable-next-line no-debugger
// eslint-disable-next-line no-underscore-dangle // eslint-disable-next-line no-underscore-dangle
window.__INITIAL_STATE__ = Object.assign( window.__INITIAL_STATE__ = Object.assign(
......
...@@ -35,7 +35,6 @@ const MICRO_STATUS = { ...@@ -35,7 +35,6 @@ const MICRO_STATUS = {
}; };
export const initMicroApps = () => { export const initMicroApps = () => {
debugger
/* eslint-disable */ /* eslint-disable */
const config = window.globalConfig || {}; const config = window.globalConfig || {};
//createStoreage.get('globalConfig'); //createStoreage.get('globalConfig');
......
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