chore: 🔨 httpRequest 忽略错误

This commit is contained in:
tk
2025-06-19 11:33:25 +08:00
committed by nsnail
parent fe31bf0579
commit bb32c95e06

View File

@ -118,6 +118,7 @@ axios.interceptors.response.use(
return response
},
async (error) => {
if (error.config.ignoreError) return Promise.reject(error.response)
if (error.response) {
if (error.response.status === 404) {
ElNotification.error({