This commit is contained in:
xingyu4j
2022-11-16 16:56:38 +08:00
parent d8be452fd8
commit e76a6f814f
2 changed files with 1 additions and 3 deletions

View File

@ -46,13 +46,11 @@ const initSocial = async () => {
}
}
}
console.info(socialUsers.value)
}
const bind = (row) => {
const redirectUri = location.origin + '/user/profile?type=' + row.type
// 进行跳转
socialAuthRedirect(row.type, encodeURIComponent(redirectUri)).then((res) => {
console.log(res.url)
window.location.href = res.data
})
}