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

请教下关于 取消请求 的相关问题 #500

Open
tlerbao opened this issue Sep 22, 2024 · 0 comments
Open

请教下关于 取消请求 的相关问题 #500

tlerbao opened this issue Sep 22, 2024 · 0 comments

Comments

@tlerbao
Copy link

tlerbao commented Sep 22, 2024

似乎快速重复访问一个 api 的时候会自动 取消请求从而触发以下错误

如果用 try catch 包围api 请求的话 只有下面这个 否则,按钮还会有一个警告 [Vue warn]: Unhandled error during execution of component event handler
CleanShot 2024-09-22 at 18 10 28@2x

请问提示这个错误是正常的吗,可以不用管吗?最佳实践是怎样的
必须用 try catch 包围请求 api 吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant