king
2024-12-24 c3c7e475d5655f236b88d74565494d553dc3e35e
2024-12-24
1个文件已修改
4 ■■■■ 已修改文件
src/api/index.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/index.js
@@ -74,6 +74,10 @@
      placement: 'bottomRight',
      duration: 15
    })
    if ([404, 500, 504].includes(response.status) && error.config && error.config.url) {
      window.mkInfo(error.config.url)
      error.config.data && window.mkInfo(error.config.data)
    }
  }
  return Promise.reject(response)