Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【前端】判断请求是否成功的公共方法 #39

Closed
Hccake opened this issue Nov 20, 2021 · 1 comment
Closed

【前端】判断请求是否成功的公共方法 #39

Hccake opened this issue Nov 20, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@Hccake
Copy link
Member

Hccake commented Nov 20, 2021

判断服务端的返回数据是否成功,现在都是 r.code === 200,应该抽取一个公共方法,用于判断是否返回的成功,防止后续服务端返回改动

@Hccake Hccake added the enhancement New feature or request label Nov 20, 2021
@Hccake
Copy link
Member Author

Hccake commented Nov 20, 2021

已完成 c7aca07

@Hccake Hccake closed this as completed Nov 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

No branches or pull requests

1 participant