添加stackoverflow登录,修改第三方登录图标

This commit is contained in:
junleea 2025-05-06 13:58:58 +08:00
parent dd8f9f1603
commit bc0c367884
3 changed files with 1891 additions and 4 deletions

1872
filesystem_doc.html Normal file

File diff suppressed because one or more lines are too long

View File

@ -126,7 +126,7 @@ const currentLoginRequest = ref(0); //当前请求次数
const thirdPartyLogoInfoList = ref([
{
name: "github",
logo: "https://www.ljsea.top/wp-content/uploads/2025/04/github-logo.png",
logo: "https://www.ljsea.top/wp-content/uploads/2025/05/github-48-logo.png",
},
{
name: "gitee",
@ -134,15 +134,19 @@ const thirdPartyLogoInfoList = ref([
},
{
name: "qq",
logo: "https://wiki.connect.qq.com/wp-content/uploads/2016/12/Connect_logo_7.png",
logo: "https://www.ljsea.top/wp-content/uploads/2025/05/icons8-qq-48.png",
},
{
name: "google",
logo: "https://www.ljsea.top/wp-content/uploads/2025/04/google-logo_resized.png",
logo: "https://www.ljsea.top/wp-content/uploads/2025/05/icons8-google-48.png",
},
{
name: "facebook",
logo: "https://www.ljsea.top/wp-content/uploads/2025/05/icons8-facebook.png",
},
{
name: "stackoverflow",
logo: "https://www.ljsea.top/wp-content/uploads/2025/05/logo-stackoverflow-48.png",
}
]);
@ -206,6 +210,11 @@ const thirdLogin = async (type) => {
clearInterval(timer);
return;
}
if(statusResp["code"] === 9){
ElMessage.error("服务器错误,请稍后再试!");
clearInterval(timer);
return;
}
if(statusResp["data"]["status"] === 163) {
ElMessage.error("该账号未绑定,请先绑定账号!");
clearInterval(timer);

View File

@ -168,7 +168,8 @@ const thirdPartyPlatform = ref([
{ label: 'Github', value: 'github' },
{ label: 'Gitee', value: 'gitee' },
{ label: 'Google', value: 'google' },
{ label: 'Facebook', value: 'facebook'}
{ label: 'Facebook', value: 'facebook'},
{ label: 'StackOverflow', value: 'stackoverflow' },
]);
@ -426,6 +427,11 @@ const thirdLogin = async (type) => {
clearInterval(timer);
return;
}
if(statusResp["code"] === 9){
ElMessage.error("服务器错误,请稍后再试!");
clearInterval(timer);
return;
}
if(statusResp["data"]["status"] === 163) {
ElMessage.error("该账号未绑定,请先绑定账号!");
clearInterval(timer);