Commit 2c43ae59 by 杨北旺

打开登录

1 parent 8f2cde0e
......@@ -144,16 +144,16 @@ const actions = {
util.setSessionId(sessionId || storage_sessionId)
dispatch('registerHttp', sessionId || storage_sessionId)
} else {
// util.showLoading()
util.showLoading()
dispatch('registerHttp')
// dispatch('login')
// return
dispatch('login')
return
}
state.showWindow = true
},
registerHttp({}, sessionId = '') {
// window.$HTTP = new Http({ ...window.$fetchConfig, alert: Notify, headers: { token: sessionId } })
window.$HTTP = new Http({ ...window.$fetchConfig, alert: Notify, headers: { token: '710c3866-90c9-47fb-9161-b702b7f262ad' } })
window.$HTTP = new Http({ ...window.$fetchConfig, alert: Notify, headers: { token: sessionId } })
// window.$HTTP = new Http({ ...window.$fetchConfig, alert: Notify, headers: { token: '710c3866-90c9-47fb-9161-b702b7f262ad' } })
}
}
const getParams = name => {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!