Skip to content

Commit

Permalink
Feat:添加注释
Browse files Browse the repository at this point in the history
  • Loading branch information
hank.he committed Apr 28, 2024
1 parent 1293a34 commit cb9d040
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Request/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* @Author: HxB
* @Date: 2022-04-26 14:15:37
* @LastEditors: DoubleAm
* @LastEditTime: 2024-04-28 17:33:47
* @LastEditTime: 2024-04-28 17:43:36
* @Description: 请求相关函数
* @FilePath: \js-xxx\src\Request\index.ts
*/
Expand Down Expand Up @@ -64,7 +64,7 @@ export function qsStringify(
* 获取 query string 参数转对象
* @example
* qsParse('start=0&count=20&x=1&x=2&x=3', 'x'); /// [1, 2, 3]
* qsParse('start=0&count=20&x=1&x=2&x=3'); /// { start: '0', count: '20', x: [1, 2, 3], '/': 'start=0&count=20&x=1&x=2&x=3' }
* qsParse('http://a.cn/123/teststart=0&count=20&x=1&x=2&x=3#123'); /// { start: '0', count: '20', x: [1, 2, 3], '#': 123, '_': 'test', '/': 'test?start=0&count=20&x=1&x=2&x=3#123' }
* @param url query string
* @param key 参数名
* @returns
Expand Down

0 comments on commit cb9d040

Please sign in to comment.