Skip to content
2 changes: 1 addition & 1 deletion src/components/common/ModalView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

<div
v-if="type != 'inputType'"
class="flex text-sm font-bold text-body justify-center">
class="flex text-sm font-bold text-body justify-center whitespace-pre-line text-center">
<slot name="body"></slot>
</div>
</div>
Expand Down
11 changes: 9 additions & 2 deletions src/views/LoginView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,15 @@ 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분 후 다시 시도 해 주세요'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

\n 뒤에 공백이 있다면 다음 줄 시작에 불필요한 공백이 있다는 것이라
'...정지되었습니다\n30분 후...' 와 같이 수정 부탁드립니다

또한 '시도 해 주세요'도 '시도해주세요'로 통일 부탁드립니다.
시도해주세요 시도해 주세요 둘 다 가능은 하지만 현재 '확인해주세요'로 통일한 상태라 '시도해주세요'로 수정 부탁드릴게요

} else {
messageHeader.value = '일치하는 정보가 없습니다'
messageBody.value = '닉네임과 비밀번호를 다시 확인해 주세요'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'확인해주세요'로 수정 부탁드립니다!

}
break

case 404:
Expand Down