Browse Source

fix: code 入参修改

liangan 4 days ago
parent
commit
cd3cb9e8f0
1 changed files with 1 additions and 1 deletions
  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()
     toast.success(t('auth.register.success.codeSent'))