1
0
mirror of https://github.com/FatttSnake/Pinnacle-OA.git synced 2026-04-05 15:01:23 +08:00

Removed console output for authentication failures

This commit is contained in:
2023-05-10 15:04:19 +08:00
parent 02e027b141
commit 9937031712

View File

@@ -29,8 +29,6 @@ service.interceptors.response.use(
case UNAUTHORIZED:
case TOKEN_IS_ILLEGAL:
case TOKEN_HAS_EXPIRED:
// eslint-disable-next-line @typescript-eslint/restrict-template-expressions
console.log(`request error: ${response.data.code} - ${response.data.msg}`)
clearLocalStorage()
ElMessage.error({
dangerouslyUseHTMLString: true,