Update request.md

This commit is contained in:
lucaszhu 2021-12-14 10:31:57 +08:00 committed by GitHub
parent 7a1db0259f
commit 736bb901ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,7 +56,7 @@ export const request = {
closeResDataCheck: false,
// 请求拦截器
requestInterceptors: [],
// 应拦截器
// 应拦截器
responseInterceptors: [],
// 错误处理
// 内部以 reponse.data.code === '0' 判断请求是否成功