Browse Source

手机号增添-

lihuilin/feature-20251024095243-我的
wangyi 3 weeks ago
parent
commit
c07ac2b713
  1. 4
      pages/start/Registration/Registration.vue
  2. 4
      pages/start/login/login.vue
  3. 4
      pages/start/recoverPassword/recoverPassword.vue

4
pages/start/Registration/Registration.vue

@ -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,
}); });

4
pages/start/login/login.vue

@ -536,7 +536,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;
@ -652,7 +652,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,
}); });

4
pages/start/recoverPassword/recoverPassword.vue

@ -451,7 +451,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;
@ -570,7 +570,7 @@ function sendCode() {
} }
} }
if (switchType.value === "Phone") { if (switchType.value === "Phone") {
const phoneAll = `${country.value}${phone.value}`;
const phoneAll = `${country.value}-${phone.value}`;
const res = SendPhoneCodeApi({ const res = SendPhoneCodeApi({
phone: phoneAll, phone: phoneAll,

Loading…
Cancel
Save