Not much to say, just go to the code! ! !
1. Setting method
The networkTimeout configuration item is at the same level as appid, name, h5 and other configuration items.
Note: After adding or modifying the timeout time, you need to restart the service!
Two, the code
"networkTimeout":{
"request":30000,
"uploadFile":60000,
"downloadFile":60000
}
Two, reference
uni-app official website reference address: https://uniapp.dcloud.io/collocation/manifest?id=networktimeout
networkTimeout configurable items:
come on! Ori! ! !