Browse Source

feat: (register) show reset

gemercheung 2 years ago
parent
commit
080e4b5d6c
1 changed files with 3 additions and 0 deletions
  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);
       }
     },