Skip to content

Commit

Permalink
fix: minor
Browse files Browse the repository at this point in the history
  • Loading branch information
nannan00 committed Jul 18, 2023
1 parent bd165bb commit c19eee7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/pages/src/api/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,9 +215,7 @@ function handleReject(error, config) {
data,
});
} else if (status === 403 && data.code === -2) {
store.commit('updateNoAccessAuthData', {
message: data.message,
});
store.commit('updateNoAccessAuthData', data.message);
} else if (data && data.message) {
messageError(data.message);
} else if (status === 500) {
Expand Down

0 comments on commit c19eee7

Please sign in to comment.