|
|
@ -124,7 +124,7 @@ const Root = props => { |
|
|
|
let store = configStore(reducers, history); |
|
|
|
store.dispatch(initLayout(title, copyright, sections, actions)); |
|
|
|
// store.dispatch(resize(document.body.clientHeight, document.body.clientWidth)); |
|
|
|
store.dispatch(resize(document.getElementById('HrApp').clientHeight, document.getElementById('HrApp').clientWidth)); |
|
|
|
store.dispatch(resize(document.getElementById('DrApp').clientHeight, document.getElementById('DrApp').clientWidth)); |
|
|
|
store.dispatch(actions.auth.initAuth()); |
|
|
|
const resourceRoot = await store.dispatch(initApiRoot()) |
|
|
|
store.dispatch(initWebSocket({})) |
|
|
|