fix: 网络请求统一10秒超时
This commit is contained in:
@@ -93,7 +93,7 @@ const baseUrl = import.meta.env.PROD
|
|||||||
/**默认请求参数 */
|
/**默认请求参数 */
|
||||||
const FATCH_OPTIONS: OptionsType = {
|
const FATCH_OPTIONS: OptionsType = {
|
||||||
baseUrl: baseUrl,
|
baseUrl: baseUrl,
|
||||||
timeout: 30_000,
|
timeout: 10_000,
|
||||||
url: '',
|
url: '',
|
||||||
method: 'get',
|
method: 'get',
|
||||||
headers: {
|
headers: {
|
||||||
|
|||||||
Reference in New Issue
Block a user