请求拦截

在请求发起之前和请求完成之后进行某些操作(比如loading效果);
在发送请求之前添加上loading效果,在请求成功和失败的时候都关闭loading

猜你喜欢

转载自blog.csdn.net/qq_42634562/article/details/85012413