Skip to content

Commit

Permalink
test: logout
Browse files Browse the repository at this point in the history
  • Loading branch information
xjh22222228 committed Jun 5, 2024
1 parent 18c3820 commit 280158e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ instance.interceptors.response.use(
(error) => {
const status = error.response?.status;
if (status === 401) {
logout();
// logout();
}
ElNotification({
type: "error",
Expand Down

0 comments on commit 280158e

Please sign in to comment.