修改接口请求超时时间
This commit is contained in:
@@ -16,7 +16,7 @@ let apiBaseUrl = window._CONFIG['domianURL'] || "/jshERP-boot";
|
||||
// 创建 axios 实例
|
||||
const service = axios.create({
|
||||
baseURL: apiBaseUrl, // api base_url
|
||||
timeout: 90000 // 请求超时时间
|
||||
timeout: 300000 // 请求超时时间
|
||||
})
|
||||
|
||||
const err = (error) => {
|
||||
|
||||
Reference in New Issue
Block a user