From 09109a5a3f6af14613be8e1cc23c7442bb5e60e7 Mon Sep 17 00:00:00 2001 From: Aresn Date: Thu, 20 Jun 2024 16:00:45 +0800 Subject: [PATCH] Update Sign.vue --- components/i/Sign.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/i/Sign.vue b/components/i/Sign.vue index 1ec272a..6780344 100644 --- a/components/i/Sign.vue +++ b/components/i/Sign.vue @@ -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 } -- GitLab