fix: 网络请求统一10秒超时

This commit is contained in:
TsMask
2023-11-23 21:49:07 +08:00
parent c590482fa4
commit 5101b1bae3

View File

@@ -93,7 +93,7 @@ const baseUrl = import.meta.env.PROD
/**默认请求参数 */
const FATCH_OPTIONS: OptionsType = {
baseUrl: baseUrl,
timeout: 30_000,
timeout: 10_000,
url: '',
method: 'get',
headers: {