Commit c5845ff8 by 李伟康

提交代码

1 parent 5f0f392d
......@@ -60,7 +60,7 @@ const actions = {
util.setSessionId(data.sessionId)
dispatch('registerHttp', data.sessionId)
state.showWindow = true
let pageQuery = window.location.href.split('/split/')[1]
let pageQuery = decodeURIComponent(window.location.href.split('/split/')[1])
pageQuery = pageQuery.replace(/\|/g, '&')
window.location.replace(`${redirectUrl}#/${route}?${pageQuery}`)
} else {
......@@ -121,7 +121,7 @@ const actions = {
util.setSessionId(sessionId)
dispatch('registerHttp', sessionId)
state.showWindow = true
let pageQuery = window.location.href.split('/split/')[1]
let pageQuery = decodeURIComponent(window.location.href.split('/split/')[1])
pageQuery = pageQuery.replace(/\|/g, '&')
window.location.replace(`${redirectUrl}#/${route}?${pageQuery}`)
} else {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!