这次一定没问题了

This commit is contained in:
HDTianRu 2024-08-18 17:27:01 +08:00
parent 2841131dd0
commit a3ab517107
2 changed files with 7 additions and 4 deletions

View file

@ -23,7 +23,7 @@ const _request = async (url, options) => {
* @param {number} retry 重试次数
* @returns {Promise<Response>}
*/
const request = (url, options, retry = 0, timeout = 30000) => {
const request = (url, options, retry = 0, timeout = 15000) => {
let err;
const controller = new AbortController()
const { signal } = controller