Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mingchiuli committed Dec 31, 2024
1 parent 230ffdb commit e242e6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/http/axios.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const errorInterceptor = (error: AxiosError<any, any>) => {
message: error.response!.data.msg ? error.response!.data.msg : error.message,
showClose: true
})
if (error.response!.status === 401) {
if (error.response!.status === 403) {
clearLoginState()
router.push({
name: 'login'
Expand Down

0 comments on commit e242e6e

Please sign in to comment.