Mr.Shi
2023-09-25 7ea965d6203786fd7fd4e6dd38230586c427885f
company_admin/src/utils/request.js
@@ -41,7 +41,9 @@
// 新建响应拦截器
axiosInstance.interceptors.response.use((response) => {
  console.log(response.status)
  // debugger
  // 请求失败
  if (response.status !== 200) {
    return Promise.reject(new Error('服务器繁忙,请稍后再试'))