Commit c5845ff8 by 李伟康

提交代码

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