Ming
Results
4
comments of
Ming
同求 +1
https://github.com/antvis/X6/discussions/2495
我觉得这个太有必要了,现在我碰到的需求就是如此 http状态码是http层的,内部会与后台约束 自己的内部状态码,如果在 request.interceptors.response.use 内抛出错误,errorHandler的error参数是为空的。但是如果没有errorHandler 方法,我http层的请求又补货不到,这个有点让人感觉到麻烦,如果有了这项功能,我觉得会比 axios完美太多了。
请问现在解决这个问题了吗?