From fab2a6d2b63afe64cfdead61c362ac6627de61a6 Mon Sep 17 00:00:00 2001 From: |NekoVari| Date: Wed, 22 Nov 2023 15:08:28 +0000 Subject: [PATCH] Fix bug register --- src/views/Register.vue | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/views/Register.vue b/src/views/Register.vue index 64057e3..8ce68be 100644 --- a/src/views/Register.vue +++ b/src/views/Register.vue @@ -13,8 +13,8 @@
@@ -98,7 +98,7 @@ import eyeNotLooking from '../../icons/Material/eye-not-looking.svg'; return { pageTitle: 'สมัครสมาชิก', input: { - username: '', + email: '', password: '', passwordConfirm:'' } @@ -114,9 +114,9 @@ import eyeNotLooking from '../../icons/Material/eye-not-looking.svg'; 'Content-Type': 'application/json', }, body: JSON.stringify({ - username: this.input.username, + username: "temp", password: this.input.password, - email: "asdf", + email: this.input.email, isGoogleAccount: false }) }) @@ -137,7 +137,7 @@ import eyeNotLooking from '../../icons/Material/eye-not-looking.svg'; }) console.log("fisnished fetch"); } else { - console.log('Username and Password cannot be empty'); + console.log('Email and Password cannot be empty'); } } }, @@ -148,7 +148,7 @@ import eyeNotLooking from '../../icons/Material/eye-not-looking.svg'; .user { background-color: aqua; } -.username, .password { +.email, .password { margin-bottom: -21px; } .check {