|
|
@ -326,7 +326,7 @@ function changeAccount() { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if (switchType.value === "Phone") { |
|
|
if (switchType.value === "Phone") { |
|
|
account.value = `${country.value}${phone.value}`; |
|
|
|
|
|
|
|
|
account.value = `${country.value}-${phone.value}`; |
|
|
} |
|
|
} |
|
|
if (switchType.value === "Email") { |
|
|
if (switchType.value === "Email") { |
|
|
account.value = email.value; |
|
|
account.value = email.value; |
|
|
@ -511,7 +511,7 @@ async function sendCode() { |
|
|
if (switchType.value === "Phone") { |
|
|
if (switchType.value === "Phone") { |
|
|
// 发送验证码 |
|
|
// 发送验证码 |
|
|
|
|
|
|
|
|
const phoneAll = `${country.value}${phone.value}`; |
|
|
|
|
|
|
|
|
const phoneAll = `${country.value}-${phone.value}`; |
|
|
const res = await SendPhoneCodeApi({ |
|
|
const res = await SendPhoneCodeApi({ |
|
|
phone: phoneAll, |
|
|
phone: phoneAll, |
|
|
}); |
|
|
}); |
|
|
|