“陈博论” hace 10 meses
padre
commit
a89a50e5ae
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      web/src/views/frontend/Register.vue

+ 1 - 1
web/src/views/frontend/Register.vue

@@ -164,7 +164,7 @@ const handleRegister = () => {
         registerType: 'email',
         name: registerForm.name.trim(),
         email: registerForm.email.trim(),
-        username: registerForm.email.trim(),
+        username: registerForm.name.trim(),
         password: registerForm.password,
         captcha: registerForm.emailCode.trim(),
         captchaId: registerForm.captchaId,