增加超时时间
This commit is contained in:
parent
536781d1dd
commit
90e165b22d
|
|
@ -32,7 +32,7 @@ const httpInterceptor = {
|
|||
}
|
||||
|
||||
// 2. 设置请求超时时间,默认为60s,设置为 10s
|
||||
options.timeout = 30000
|
||||
options.timeout = 60000
|
||||
|
||||
// 3. 增加小程序端请求头标识
|
||||
options.header = {
|
||||
|
|
|
|||
Loading…
Reference in New Issue