gaosp
2024-02-03 4145f51803841d33fa68673f2b6aa6e451bf9461
src/utils/ajax.js
@@ -1,7 +1,7 @@
/*
 * @Date: 2022-11-09 12:37:25
 * @LastEditors: Sneed
 * @LastEditTime: 2024-01-17 23:20:35
 * @LastEditTime: 2024-02-02 22:01:56
 * @FilePath: /belleson-frontend/Users/mache/Documents/demo/mdc/src/utils/ajax.js
 */
import axios from 'axios'
@@ -83,7 +83,7 @@
        Message({
          message: response.data.msg,
          type: 'error',
          duration: 3 * 1000
          duration: 600
        })
        return Promise.reject('error')
      }
@@ -94,7 +94,7 @@
    Message({
      message: '服务连接异常,请稍后重试或联系管理员',
      type: 'error',
      duration: 5 * 1000
      duration: 600
    })
    return Promise.reject(error)
  }