Skip to content

Commit

Permalink
优化代码
Browse files Browse the repository at this point in the history
  • Loading branch information
saqqdy committed Sep 25, 2021
1 parent 72d4d86 commit e5622c7
Show file tree
Hide file tree
Showing 12 changed files with 59 additions and 55 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# 更新日志

## 2021.09.25 v2.2.3 更新日志

1. 优化代码

## 2021.09.21 v2.2.2 更新日志

1. 构建输出 banner
Expand Down
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
index.md - v2.2.2 / [Exports](modules.md)
index.md - v2.2.3 / [Exports](modules.md)

# axios-ex

Expand Down
20 changes: 10 additions & 10 deletions docs/classes/default.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[index.md - v2.2.2](../README.md) / [Exports](../modules.md) / default
[index.md - v2.2.3](../README.md) / [Exports](../modules.md) / default

# Class: default

Expand Down Expand Up @@ -40,7 +40,7 @@ axios 封装

#### Defined in

[src/index.ts:164](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L164)
[src/index.ts:164](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L164)

## Properties

Expand All @@ -50,7 +50,7 @@ axios 封装

#### Defined in

[src/index.ts:159](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L159)
[src/index.ts:159](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L159)

---

Expand All @@ -60,7 +60,7 @@ axios 封装

#### Defined in

[src/index.ts:163](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L163)
[src/index.ts:163](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L163)

---

Expand All @@ -70,7 +70,7 @@ axios 封装

#### Defined in

[src/index.ts:160](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L160)
[src/index.ts:160](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L160)

---

Expand All @@ -80,7 +80,7 @@ axios 封装

#### Defined in

[src/index.ts:162](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L162)
[src/index.ts:162](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L162)

---

Expand All @@ -90,7 +90,7 @@ axios 封装

#### Defined in

[src/index.ts:161](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L161)
[src/index.ts:161](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L161)

---

Expand All @@ -100,7 +100,7 @@ axios 封装

#### Defined in

[src/index.ts:158](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L158)
[src/index.ts:158](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L158)

## Methods

Expand All @@ -122,7 +122,7 @@ axios 封装

#### Defined in

[src/index.ts:238](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L238)
[src/index.ts:238](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L238)

---

Expand All @@ -144,4 +144,4 @@ axios 封装

#### Defined in

[src/index.ts:176](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L176)
[src/index.ts:176](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L176)
30 changes: 15 additions & 15 deletions docs/interfaces/AxiosExtendConfig.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[index.md - v2.2.2](../README.md) / [Exports](../modules.md) / AxiosExtendConfig
[index.md - v2.2.3](../README.md) / [Exports](../modules.md) / AxiosExtendConfig

# Interface: AxiosExtendConfig

Expand Down Expand Up @@ -32,7 +32,7 @@

#### Defined in

[src/index.ts:34](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L34)
[src/index.ts:34](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L34)

---

Expand All @@ -42,7 +42,7 @@

#### Defined in

[src/index.ts:37](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L37)
[src/index.ts:37](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L37)

---

Expand All @@ -52,7 +52,7 @@

#### Defined in

[src/index.ts:36](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L36)
[src/index.ts:36](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L36)

---

Expand All @@ -62,7 +62,7 @@

#### Defined in

[src/index.ts:38](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L38)
[src/index.ts:38](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L38)

---

Expand All @@ -72,7 +72,7 @@

#### Defined in

[src/index.ts:35](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L35)
[src/index.ts:35](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L35)

## Methods

Expand All @@ -92,7 +92,7 @@

#### Defined in

[src/index.ts:47](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L47)
[src/index.ts:47](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L47)

---

Expand All @@ -112,7 +112,7 @@

#### Defined in

[src/index.ts:46](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L46)
[src/index.ts:46](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L46)

---

Expand All @@ -133,7 +133,7 @@

#### Defined in

[src/index.ts:42](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L42)
[src/index.ts:42](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L42)

---

Expand All @@ -153,7 +153,7 @@

#### Defined in

[src/index.ts:43](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L43)
[src/index.ts:43](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L43)

---

Expand All @@ -174,7 +174,7 @@

#### Defined in

[src/index.ts:44](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L44)
[src/index.ts:44](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L44)

---

Expand All @@ -194,7 +194,7 @@

#### Defined in

[src/index.ts:45](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L45)
[src/index.ts:45](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L45)

---

Expand All @@ -208,7 +208,7 @@

#### Defined in

[src/index.ts:39](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L39)
[src/index.ts:39](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L39)

---

Expand All @@ -229,7 +229,7 @@

#### Defined in

[src/index.ts:40](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L40)
[src/index.ts:40](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L40)

---

Expand All @@ -249,4 +249,4 @@

#### Defined in

[src/index.ts:41](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L41)
[src/index.ts:41](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L41)
6 changes: 3 additions & 3 deletions docs/interfaces/AxiosExtendCurrentStateType.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[index.md - v2.2.2](../README.md) / [Exports](../modules.md) / AxiosExtendCurrentStateType
[index.md - v2.2.3](../README.md) / [Exports](../modules.md) / AxiosExtendCurrentStateType

# Interface: AxiosExtendCurrentStateType

Expand All @@ -17,7 +17,7 @@

#### Defined in

[src/index.ts:19](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L19)
[src/index.ts:19](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L19)

---

Expand All @@ -27,4 +27,4 @@

#### Defined in

[src/index.ts:20](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L20)
[src/index.ts:20](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L20)
10 changes: 5 additions & 5 deletions docs/interfaces/AxiosExtendObject.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[index.md - v2.2.2](../README.md) / [Exports](../modules.md) / AxiosExtendObject
[index.md - v2.2.3](../README.md) / [Exports](../modules.md) / AxiosExtendObject

# Interface: AxiosExtendObject

Expand All @@ -19,7 +19,7 @@

#### Defined in

[src/index.ts:14](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L14)
[src/index.ts:14](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L14)

---

Expand All @@ -29,7 +29,7 @@

#### Defined in

[src/index.ts:12](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L12)
[src/index.ts:12](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L12)

---

Expand All @@ -39,7 +39,7 @@

#### Defined in

[src/index.ts:15](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L15)
[src/index.ts:15](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L15)

---

Expand All @@ -49,4 +49,4 @@

#### Defined in

[src/index.ts:13](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L13)
[src/index.ts:13](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L13)
16 changes: 8 additions & 8 deletions docs/interfaces/AxiosExtendRequestOptions.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[index.md - v2.2.2](../README.md) / [Exports](../modules.md) / AxiosExtendRequestOptions
[index.md - v2.2.3](../README.md) / [Exports](../modules.md) / AxiosExtendRequestOptions

# Interface: AxiosExtendRequestOptions

Expand Down Expand Up @@ -88,7 +88,7 @@ node_modules/axios/index.d.ts:64

#### Defined in

[src/index.ts:24](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L24)
[src/index.ts:24](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L24)

---

Expand Down Expand Up @@ -116,7 +116,7 @@ AxiosRequestConfig.cancelToken

#### Defined in

[src/index.ts:28](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L28)
[src/index.ts:28](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L28)

---

Expand Down Expand Up @@ -154,7 +154,7 @@ node_modules/axios/index.d.ts:79

#### Defined in

[src/index.ts:30](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L30)
[src/index.ts:30](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L30)

---

Expand Down Expand Up @@ -262,7 +262,7 @@ node_modules/axios/index.d.ts:52

#### Defined in

[src/index.ts:26](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L26)
[src/index.ts:26](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L26)

---

Expand Down Expand Up @@ -300,7 +300,7 @@ node_modules/axios/index.d.ts:77

#### Defined in

[src/index.ts:27](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L27)
[src/index.ts:27](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L27)

---

Expand Down Expand Up @@ -408,7 +408,7 @@ node_modules/axios/index.d.ts:80

#### Defined in

[src/index.ts:29](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L29)
[src/index.ts:29](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L29)

---

Expand All @@ -418,7 +418,7 @@ node_modules/axios/index.d.ts:80

#### Defined in

[src/index.ts:25](https://github.com/saqqdy/axios-ex/blob/70c2408/src/index.ts#L25)
[src/index.ts:25](https://github.com/saqqdy/axios-ex/blob/72d4d86/src/index.ts#L25)

---

Expand Down
Loading

0 comments on commit e5622c7

Please sign in to comment.