add bind mobile, bind email, bind wechat function is ready

This commit is contained in:
RockYang
2024-08-14 15:56:50 +08:00
parent 43843b92f2
commit aa42d38387
18 changed files with 386 additions and 65 deletions

View File

@@ -114,7 +114,7 @@ onMounted(() => {
}).catch(() => {
})
const returnURL = `${location.protocol}//${location.host}/login/callback`
const returnURL = `${location.protocol}//${location.host}/login/callback?action=login`
httpGet("/api/user/clogin?return_url="+returnURL).then(res => {
wechatLoginURL.value = res.data.url
}).catch(e => {