update @token失效 参数问题修复
This commit is contained in:
parent
8b1d120d54
commit
f3de8d928b
|
@ -55,7 +55,7 @@ service.interceptors.response.use(
|
|||
confirmTxt: '重新进入',
|
||||
})
|
||||
.then(() => {
|
||||
location.replace(`${location.origin}${env.BASE_DIRECTORY}home?loginBack=${getQueryParams('loginBack') || location.href}`);
|
||||
location.replace(`${location.origin}${env.BASE_DIRECTORY}home?loginBack=${getQueryParams('loginBack') || encodeURIComponent(location.href)}`);
|
||||
})
|
||||
}
|
||||
return {};
|
||||
|
|
Loading…
Reference in New Issue