|
|
@@ -13,7 +13,7 @@ export const actions = {
|
|
|
store.commit('option/SET_COOKIES', cookie)
|
|
|
// 保存appId和returnUrl信息
|
|
|
// 保存链接?之后的所有键值对以字符串形式
|
|
|
- let fullPath = route.fullPath.slice(route.fullPath.lastIndexOf('?')) || ''
|
|
|
+ let fullPath = route.fullPath.lastIndexOf('?') !== -1 ? route.fullPath.slice(route.fullPath.lastIndexOf('?')) : ''
|
|
|
store.commit('option/SET_FULLPATH', fullPath)
|
|
|
if (route.query) {
|
|
|
let appId = route.query.appId || ''
|