Commit e30b4922 authored by 郑磊's avatar 郑磊

更新授权登录

parent f6954f52
...@@ -45,6 +45,7 @@ export async function authLogin(returnUrl?: string): Promise<true | string> { ...@@ -45,6 +45,7 @@ export async function authLogin(returnUrl?: string): Promise<true | string> {
//打开跳转地址 //打开跳转地址
const iframe = document.createElement('iframe') const iframe = document.createElement('iframe')
iframe.style.display = 'none' iframe.style.display = 'none'
iframe.src = authUrl.href
document.body.appendChild(iframe) 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