🐞 fix: 修复统一登录跳转重定向问题

This commit is contained in:
wangsongsole 2023-04-18 15:58:59 +08:00
parent e4a60c96c1
commit cf60050afc
1 changed files with 3 additions and 3 deletions

View File

@ -35,9 +35,9 @@ export default class App extends Component {
/* 跳转统一登录平台 */
toUnifiedLogin() {
setTimeout(() => {
window.location.href = `${window.unifiedUrl}?url=${encodeURIComponent(
window.location.href
)}`;
window.location.href = `${
window.unifiedUrl
}#/login?url=${encodeURIComponent(window.location.href)}`;
}, 1500);
}