fix: 默认超时时间30_000

This commit is contained in:
TsMask committed 2023-11-01 17:54:20 +08:00
1 parent 0835afa374
commit ba0ab5bad3
1 file changed
+1 -1
+1 -1
View File
@@ -86,7 +86,7 @@ const baseUrl = import.meta.env.PROD
/**默认请求参数 */
const FATCH_OPTIONS: OptionsType = {
baseUrl: baseUrl,
timeout: 30 * 1000,
timeout: 30_000,
url: '',
method: 'get',
headers: {