Skip to content

Commit

Permalink
[-] Remove unnecessary code to prevent bug here
Browse files Browse the repository at this point in the history
  • Loading branch information
Muska-Ami committed Jan 11, 2025
1 parent 067c8a7 commit bcf8c2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/callback/auth/oauth/qq/LoginView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ if (code !== null) {
if (!rsx) message.error('获取访问令牌时发生错误')
userData.commit('set_frp_token', rsx.data.frp_token)
notification.success('登录成功', rs.data.username + ',欢迎回来!')
router.push(redirect || '/dashboard')
router.push('/dashboard')
} else {
error.value = true
errorMessage.value = rs.message
Expand Down

0 comments on commit bcf8c2b

Please sign in to comment.