Geeker-Admin icon indicating copy to clipboard operation
Geeker-Admin copied to clipboard

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

Open tlerbao opened this issue 1 year ago • 0 comments

似乎快速重复访问一个 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 吗?

tlerbao avatar Sep 22 '24 10:09 tlerbao