提交 09109a5a 编写于 作者: View Design's avatar View Design

Update Sign.vue

上级 ea0a78a2
......@@ -78,7 +78,8 @@ async function handleGetSignUrl (source) {
const { data } = await useRequest('/v1/user/gitcode/authorize_url')
url = data.value.data.url
} else if (source === 'csdn') {
// todo
const { data } = await useRequest('/v1/user/csdn/authorize_url')
url = data.value.data.url
}
window.location.href = url
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册