mirror of
https://github.com/FatttSnake/Pinnacle-OA.git
synced 2026-04-05 23:11:24 +08:00
Removed console output for authentication failures
This commit is contained in:
@@ -29,8 +29,6 @@ service.interceptors.response.use(
|
|||||||
case UNAUTHORIZED:
|
case UNAUTHORIZED:
|
||||||
case TOKEN_IS_ILLEGAL:
|
case TOKEN_IS_ILLEGAL:
|
||||||
case TOKEN_HAS_EXPIRED:
|
case TOKEN_HAS_EXPIRED:
|
||||||
// eslint-disable-next-line @typescript-eslint/restrict-template-expressions
|
|
||||||
console.log(`request error: ${response.data.code} - ${response.data.msg}`)
|
|
||||||
clearLocalStorage()
|
clearLocalStorage()
|
||||||
ElMessage.error({
|
ElMessage.error({
|
||||||
dangerouslyUseHTMLString: true,
|
dangerouslyUseHTMLString: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user