wupengfei
4 天以前 022ae7305b51796cdd6bcd5eac7eef9e149898c3
apps/cMiniApp/src/subpackages/login/loginByForm/verificationCodeLoginForm.vue
@@ -72,12 +72,19 @@
});
async function onGetCaptcha() {
  await authServices.sendLoginOrRegisterVerifyCode(
  const res = await authServices.sendLoginOrRegisterVerifyCode(
    {
      phoneNumber: form.phoneNumber,
    },
    { showLoading: false }
    { showLoading: false, getResponse: true }
  );
  if (res) {
    // @ts-ignore
    form.verificationCode = res?.data?.extras?.code ?? '';
  }
  // @ts-ignore
  return res?.data?.data;
}
async function handleLogin() {