mirror of
https://gitlab.com/little-lines/frontend.git
synced 2024-11-25 10:46:52 +00:00
Merge branch 'main' of https://gitlab.com/openKMITL/little-lines/frontend
This commit is contained in:
commit
2141a26dbd
1 changed files with 7 additions and 7 deletions
|
@ -13,8 +13,8 @@
|
||||||
|
|
||||||
<div class="mx-5">
|
<div class="mx-5">
|
||||||
<v-text-field
|
<v-text-field
|
||||||
class="username"
|
class="email"
|
||||||
v-model="input.username"
|
v-model="input.email"
|
||||||
label="อีเมล"
|
label="อีเมล"
|
||||||
variant="solo"
|
variant="solo"
|
||||||
>
|
>
|
||||||
|
@ -98,7 +98,7 @@ import eyeNotLooking from '../../icons/Material/eye-not-looking.svg';
|
||||||
return {
|
return {
|
||||||
pageTitle: 'สมัครสมาชิก',
|
pageTitle: 'สมัครสมาชิก',
|
||||||
input: {
|
input: {
|
||||||
username: '',
|
email: '',
|
||||||
password: '',
|
password: '',
|
||||||
passwordConfirm:''
|
passwordConfirm:''
|
||||||
}
|
}
|
||||||
|
@ -114,9 +114,9 @@ import eyeNotLooking from '../../icons/Material/eye-not-looking.svg';
|
||||||
'Content-Type': 'application/json',
|
'Content-Type': 'application/json',
|
||||||
},
|
},
|
||||||
body: JSON.stringify({
|
body: JSON.stringify({
|
||||||
username: this.input.username,
|
username: "temp",
|
||||||
password: this.input.password,
|
password: this.input.password,
|
||||||
email: "asdf",
|
email: this.input.email,
|
||||||
isGoogleAccount: false
|
isGoogleAccount: false
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
@ -137,7 +137,7 @@ import eyeNotLooking from '../../icons/Material/eye-not-looking.svg';
|
||||||
})
|
})
|
||||||
console.log("fisnished fetch");
|
console.log("fisnished fetch");
|
||||||
} else {
|
} 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 {
|
.user {
|
||||||
background-color: aqua;
|
background-color: aqua;
|
||||||
}
|
}
|
||||||
.username, .password {
|
.email, .password {
|
||||||
margin-bottom: -21px;
|
margin-bottom: -21px;
|
||||||
}
|
}
|
||||||
.check {
|
.check {
|
||||||
|
|
Loading…
Reference in a new issue