feat(task): task detail
This commit is contained in:
@@ -23,7 +23,6 @@ export async function qr_login(
|
||||
)}&response_type=code&state=${encodeURIComponent(state)}`
|
||||
const QRLogin = (<any>window).QRLogin
|
||||
const QRLoginObj = QRLogin({
|
||||
// eslint-disable-next-line prettier/prettier
|
||||
id: "login_container",
|
||||
goto: gotoUrl,
|
||||
style: `width: 270px;height: 270px;border: 0;border-radius:12px;background-color: #E4F2FF;
|
||||
@@ -44,7 +43,6 @@ export async function qr_login(
|
||||
if (typeof window.addEventListener !== "undefined") {
|
||||
window.addEventListener("message", handleMessage, false)
|
||||
} else if (typeof (<any>window).attachEvent !== "undefined") {
|
||||
// eslint-disable-next-line prettier/prettier
|
||||
;(<any>window).attachEvent("onmessage", handleMessage)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user