fix(login): 실제 오류 메시지 노출(진단용) + 토스트 노치 겹침 safe-area 처리
CI / build (push) Successful in 30s

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
ByungCheol
2026-07-12 12:23:02 +09:00
parent d4839678d1
commit 8386974ec9
2 changed files with 9 additions and 2 deletions
+5
View File
@@ -11,6 +11,11 @@ body {
color: #3E92CC; color: #3E92CC;
} }
// 토스트(Notify)가 상단 노치/상태바에 겹치지 않도록 safe-area 만큼 아래로.
.q-notifications__list--top {
padding-top: env(safe-area-inset-top);
}
// iOS 노치/홈바 safe-area 대응. // iOS 노치/홈바 safe-area 대응.
// 네이티브 웹뷰가 이미 safe-area 아래로 배치돼(이중 여백 방지) CSS 추가 여백은 0. // 네이티브 웹뷰가 이미 safe-area 아래로 배치돼(이중 여백 방지) CSS 추가 여백은 0.
// (제목이 상태바에 겹치면 이 값을 소폭 늘린다) // (제목이 상태바에 겹치면 이 값을 소폭 늘린다)
+4 -2
View File
@@ -198,8 +198,10 @@ function redirectAfterLogin() {
} }
function notifyError(e: unknown) { function notifyError(e: unknown) {
const message = e instanceof ApiError ? e.message : '로그인에 실패했습니다.' let message = '로그인에 실패했습니다.'
$q.notify({ color: 'negative', message, icon: 'error', position: 'top' }) if (e instanceof ApiError) message = e.message
else if (e instanceof Error && e.message) message = e.message // 네이티브 플러그인 오류 노출(진단용)
$q.notify({ color: 'negative', message, icon: 'error', position: 'top', timeout: 6000 })
} }
</script> </script>