|
@ -8,6 +8,7 @@ const instance = axios.create({ |
|
|
adapter(config) { |
|
|
adapter(config) { |
|
|
const { url, method, data, params, headers, baseURL, paramsSerializer } = |
|
|
const { url, method, data, params, headers, baseURL, paramsSerializer } = |
|
|
config |
|
|
config |
|
|
|
|
|
config.timeout = 300000 |
|
|
return new Promise((resolve, reject) => { |
|
|
return new Promise((resolve, reject) => { |
|
|
uni.request({ |
|
|
uni.request({ |
|
|
method: method!.toUpperCase() as any, |
|
|
method: method!.toUpperCase() as any, |
|
|