Commit cd73944e authored by 郑磊's avatar 郑磊

更新授权跳转

parent e30b4922
...@@ -43,11 +43,7 @@ export async function authLogin(returnUrl?: string): Promise<true | string> { ...@@ -43,11 +43,7 @@ export async function authLogin(returnUrl?: string): Promise<true | string> {
authUrl.searchParams.append('url', backUrl.href) authUrl.searchParams.append('url', backUrl.href)
//打开跳转地址 //打开跳转地址
const iframe = document.createElement('iframe') location.href = authUrl.href
iframe.style.display = 'none'
iframe.src = authUrl.href
document.body.appendChild(iframe)
return true return true
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment