Commit 75c669ea authored by 崔佳豪's avatar 崔佳豪

fix: 登录后刷新网关丢失

parent 6ff4ced2
Pipeline #47950 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