mirror of
https://gitlab.com/little-lines/frontend.git
synced 2024-11-21 19:56:52 +00:00
Fix bug register
This commit is contained in:
parent
58fcf52cd4
commit
fab2a6d2b6
1 changed files with 7 additions and 7 deletions
|
@ -13,8 +13,8 @@
|
|||
|
||||
<div class="mx-5">
|
||||
<v-text-field
|
||||
class="username"
|
||||
v-model="input.username"
|
||||
class="email"
|
||||
v-model="input.email"
|
||||
label="อีเมล"
|
||||
variant="solo"
|
||||
>
|
||||
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue