wupengfei
昨天 9c8b6d1cf6b43c6652b5183cd0183e8e257001f7
apps/cMiniApp/src/subpackages/login/loginByForm/verificationCodeLoginForm.vue
@@ -40,6 +40,7 @@
import { useUserStore } from '@/stores/modules/user';
import Taro from '@tarojs/taro';
import * as authServices from '@12333/services/apiV2/auth';
import { APP_ENV } from '@/constants';
defineOptions({
  name: 'verificationCodeLoginForm',
@@ -72,12 +73,16 @@
});
async function onGetCaptcha() {
  await authServices.sendLoginOrRegisterVerifyCode(
  const res = await authServices.sendLoginOrRegisterVerifyCode(
    {
      phoneNumber: form.phoneNumber,
    },
    { showLoading: false }
    { showLoading: false, getResponse: true }
  );
  if (res && APP_ENV === 'staging') {
    // @ts-ignore
    form.verificationCode = res?.data?.extras?.code ?? '';
  }
}
async function handleLogin() {