Commit c8acba2c authored by 邓晓峰's avatar 邓晓峰
parents aee2fbd4 75c669ea
Pipeline #47952 skipped with stages
...@@ -97,9 +97,12 @@ export const initGlobalConfig = () => { ...@@ -97,9 +97,12 @@ export const initGlobalConfig = () => {
// eslint-disable-next-line no-new // eslint-disable-next-line no-new
new Login( new Login(
{ {
global: Object.assign({}, data, { global: Object.assign({}, data,
token: getToken(), {
}), token: getToken(),
},
gateWayConfig,
),
// eslint-disable-next-line no-shadow // eslint-disable-next-line no-shadow
updateConfig: data => updateConfig: data =>
store.dispatch(actionCreators.getConfig(data)), store.dispatch(actionCreators.getConfig(data)),
......
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