Skip to content

Commit f27999d

Browse files
committed
docs: 修改文档
1 parent a454512 commit f27999d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readme.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ luch-request Guide
190190
- `import { http } from '@/utils/luch-request/index.js'`
191191
5. 什么参数需要在` setConfig ` 设置?什么参数需要在` request ` 拦截器设置?
192192
- ` setConfig ` 适用于设置一些静态的/默认的参数;比如header 里的一些默认值、默认全局参数(全局请求配置)。` token ` 并不适合在这里设置。
193-
- ` interceptor.request ` 拦截器适用范围较广,但我仍然建议把一些静态的东西放在 ` setConfig ` 里。拦截器会在每次请求调用,而 ` setConfig ` 仅在调用时修改一遍。
193+
- ` interceptors.request ` 拦截器适用范围较广,但我仍然建议把一些静态的东西放在 ` setConfig ` 里。拦截器会在每次请求调用,而 ` setConfig ` 仅在调用时修改一遍。
194194

195195
tip
196196
------------

0 commit comments

Comments
 (0)