Skip to content

Commit

Permalink
Merge pull request CSID-DGU#69 from study2895:main
Browse files Browse the repository at this point in the history
[Fix] 마이페이지로 리다이렉트
  • Loading branch information
study2895 authored Dec 2, 2024
2 parents fce4476 + 32b06dc commit 0cca499
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/login/login/LoginScript.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export default {

alert('로그인 성공!')
// 로그인 성공 후 MyPage로 리다이렉트
this.$router.push('/main')
this.$router.push('/mypage')
}
} catch (error) {
// 로그인 실패 처리
Expand Down
6 changes: 6 additions & 0 deletions src/views/login/login/LoginView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,12 @@ export default {
color: #ff6b6b;
}
.form-actions {
margin-top: 20px;
display: flex;
justify-content: center;
}
/* 버튼 */
.submit-button {
width: 100%;
Expand Down

0 comments on commit 0cca499

Please sign in to comment.