fix: 默认超时时间30秒

This commit is contained in:
TsMask
2023-11-01 17:44:00 +08:00
parent 150f547e50
commit a824e64063

View File

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