Skip to content

Commit 9bbbcc1

Browse files
setRequestTimeout doc api恢复 review by songym
1 parent 3c230c1 commit 9bbbcc1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/common/util/FetchRequest.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,9 +231,9 @@ export var isCORS = function () {
231231
}
232232
/**
233233
* @function setRequestTimeout
234+
* @category BaseTypes Util
234235
* @description 设置请求超时时间。
235236
* @param {number} [timeout=45] - 请求超时时间,单位秒。
236-
* @private
237237
* @usage
238238
* ```
239239
* // 浏览器
@@ -257,9 +257,9 @@ export var setRequestTimeout = function (timeout) {
257257
}
258258
/**
259259
* @function getRequestTimeout
260+
* @category BaseTypes Util
260261
* @description 获取请求超时时间。
261262
* @returns {number} 请求超时时间。
262-
* @private
263263
* @usage
264264
* ```
265265
* // 浏览器

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy