File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
docs/tutorial/02-getting-started/03-basic
i18n/zh-CN/docusaurus-plugin-content-docs
current/tutorial/02-getting-started/03-basic
version-v2/tutorial/02-getting-started
versioned_docs/version-v2/tutorial/02-getting-started Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ flowchart LR
6666``` javascript
6767const alovaInstance = createAlova ({
6868 // ...
69- // Use two items of the array to specify the interceptor for successful request and the interceptor for failed request respectively.
69+ // Use responded object to specify the interceptor for successful request and the interceptor for failed request respectively.
7070 responded: {
7171 // highlight-start
7272 // Interceptor for successful request
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ flowchart LR
6666``` javascript
6767const alovaInstance = createAlova ({
6868 // ...
69- // 使用数组的两个项,分别指定请求成功的拦截器和请求失败的拦截器
69+ // 使用 responded 对象分别指定请求成功的拦截器和请求失败的拦截器
7070 responded: {
7171 // highlight-start
7272 // 请求成功的拦截器
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ flowchart LR
6666``` javascript
6767const alovaInstance = createAlova ({
6868 // ...
69- // 使用数组的两个项,分别指定请求成功的拦截器和请求失败的拦截器
69+ // 使用 responded 对象分别指定请求成功的拦截器和请求失败的拦截器
7070 responded: {
7171 // highlight-start
7272 // 请求成功的拦截器
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ flowchart LR
6666``` javascript
6767const alovaInstance = createAlova ({
6868 // ...
69- // Use two items of the array to specify the interceptor for successful request and the interceptor for failed request respectively.
69+ // Use responded object to specify the interceptor for successful request and the interceptor for failed request respectively.
7070 responded: {
7171 // highlight-start
7272 // Interceptor for successful request
You can’t perform that action at this time.
0 commit comments