Explorar o código

feat: (register) show reset

gemercheung %!s(int64=2) %!d(string=hai) anos
pai
achega
080e4b5d6c
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      src/views/sys/login/RegisterForm.vue

+ 3 - 0
src/views/sys/login/RegisterForm.vue

@@ -128,6 +128,9 @@
       if (data.value) {
         setTimeout(() => {
           preventAutoFill.value = !data.value;
+          formData.userName = '';
+          formData.userPassword = '';
+          formData.code = '';
         }, 500);
       }
     },