因为当axios请求完成后走的时then的代码块,如果then代码块中存在错误代码信息,这时就会进入catch中抛出异常 来源:oschina链接:https://my.oschina.net/u/3774949/blog/3190397 标签 ios axios