-
Notifications
You must be signed in to change notification settings - Fork 0
CLAP-352 오류사항 Chloe #138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
CLAP-352 오류사항 Chloe #138
Changes from 8 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
a8fcefa
Merge branch 'develop' of https://github.com/TaskFlow-CLAP/TaskFlow-F…
BaekJiyeon02 55a3134
🐛 [fix] : 로그인시 에러(404, default)처리
BaekJiyeon02 5b49119
🐛 [fix] : maxLength 임의 제거 후 글자수 초과시 제어
BaekJiyeon02 fdde5e5
🐛 [fix] : 로그인 5회 실패시 계정 잠금 알림
BaekJiyeon02 f65d233
Merge branch 'release-v1.0.0' of https://github.com/TaskFlow-CLAP/Tas…
BaekJiyeon02 388d193
Merge branch 'release' of https://github.com/TaskFlow-CLAP/TaskFlow-F…
BaekJiyeon02 3e6d5d8
🐛 [fix] : 아지트 알림 설정 제거
BaekJiyeon02 96a7eac
🐛 [fix] : 패스워드 focus 에러 수정
BaekJiyeon02 9b84eed
🐛 [fix] : 오타 수정
BaekJiyeon02 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -102,15 +102,34 @@ const handleLogin = async () => { | |
| switch (error.response?.status) { | ||
| case 401: | ||
| isModalVisible.value = !isModalVisible.value | ||
| messageHeader.value = '일치하는 정보가 없습니다' | ||
| messageBody.value = '닉네임과 비밀번호를 다시 확인해 주세요' | ||
| console.log(error.response?.data) | ||
| if (error.response?.data == 'AUTH_015') { | ||
| messageHeader.value = '정지된 계정입니다' | ||
| messageBody.value = | ||
| '로그인 시도 5회 초과로 계정이 정지되었습니다\n 30분 후 다시 시도 해 주세요' | ||
| } else { | ||
| messageHeader.value = '일치하는 정보가 없습니다' | ||
| messageBody.value = '닉네임과 비밀번호를 다시 확인해 주세요' | ||
|
||
| } | ||
| break | ||
|
|
||
| case 404: | ||
| isModalVisible.value = !isModalVisible.value | ||
| messageHeader.value = '활성화 되어있지 않은 계정입니다' | ||
| messageBody.value = '접근 상태를 다시 확인하여주세요' | ||
| break | ||
|
|
||
| case 500: | ||
| isModalVisible.value = !isModalVisible.value | ||
| messageHeader.value = '서버에 문제가 발생했습니다' | ||
| messageBody.value = '잠시후 다시 이용해주세요' | ||
| break | ||
|
|
||
| default: | ||
| isModalVisible.value = !isModalVisible.value | ||
| messageHeader.value = '문제가 발생했습니다' | ||
| messageBody.value = '잠시후 다시 이용해주세요' | ||
| break | ||
| } | ||
| } | ||
| } | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
\n 뒤에 공백이 있다면 다음 줄 시작에 불필요한 공백이 있다는 것이라
'...정지되었습니다\n30분 후...' 와 같이 수정 부탁드립니다
또한 '시도 해 주세요'도 '시도해주세요'로 통일 부탁드립니다.
시도해주세요 시도해 주세요 둘 다 가능은 하지만 현재 '확인해주세요'로 통일한 상태라 '시도해주세요'로 수정 부탁드릴게요