const {response:{status,statusText}} = err;

status为状态码

statusText为错误信息

分类: vue 项目实战 标签: axioserrorstatusstatusText

评论