fengchang 1 year ago
parent
commit
2a8539eb85
1 changed files with 3 additions and 2 deletions
  1. 3 2
      hichina-main-front-mobile-first/src/pages/RegisterPage.vue

+ 3 - 2
hichina-main-front-mobile-first/src/pages/RegisterPage.vue

@@ -88,8 +88,8 @@ export default {
       ) {
         // do real reg logic
         var data = {
-          email: username,
-          password: password,
+          email: username.value,
+          password: password.value,
         };
 
         api
@@ -115,6 +115,7 @@ export default {
       password,
       confPassword,
       username,
+      register,
       correctConfPass: computed(() => confPassword.value == password.value),
     };
   },