Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
students
butter-studio
Commits
e5b75efa
Commit
e5b75efa
authored
Jul 16, 2021
by
Jiwon Yoon
Browse files
Merge branch 'gyumin'
parents
67f36cd8
04f26a91
Changes
1
Show whitespace changes
Inline
Side-by-side
client/src/components/Signup/Signup.js
View file @
e5b75efa
...
@@ -94,9 +94,10 @@ const Signup = () => {
...
@@ -94,9 +94,10 @@ const Signup = () => {
// 비밀번호 확인 에러유무 검사
// 비밀번호 확인 에러유무 검사
vaildationData
(
userText
.
userRePassword
,
userText
.
userPassword
,
"
errorRePassword
"
);
vaildationData
(
userText
.
userRePassword
,
userText
.
userPassword
,
"
errorRePassword
"
);
const
errorArray
=
Object
.
values
(
errors
);
// 최종 유효성 검사
// 최종 유효성 검사
if
(
overlapId
&&
(
errors
.
errorId
===
false
)
&&
(
errors
.
errorName
===
false
)
&&
(
errors
.
errorBirthday
===
false
)
if
(
overlapId
&&
(
errorArray
.
some
((
element
)
=>
(
element
))
===
false
))
{
&&
(
errors
.
errorMbnum
===
false
)
&&
(
errors
.
errorPassword
===
false
)
&&
(
errors
.
errorRePassword
===
false
))
{
console
.
log
(
userText
);
console
.
log
(
userText
);
setTimeout
(()
=>
{
console
.
log
(
"
회원가입을 완료했습니다.
"
)},
2000
)
setTimeout
(()
=>
{
console
.
log
(
"
회원가입을 완료했습니다.
"
)},
2000
)
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment