Ver Fonte

fix: code 入参修改

liangan há 5 dias atrás
pai
commit
cd3cb9e8f0
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      src/pages/register/register.vue

+ 1 - 1
src/pages/register/register.vue

@@ -69,7 +69,7 @@ async function getVerificationCode() {
     })
     })
 
 
     // 调用获取验证码接口
     // 调用获取验证码接口
-    await getCode(formData.value.phone)
+    await getCode(`88${formData.value.phone}`)
 
 
     uni.hideLoading()
     uni.hideLoading()
     toast.success(t('auth.register.success.codeSent'))
     toast.success(t('auth.register.success.codeSent'))