摘要: axios.interceptors.response.use( response => { // 如果返回的状态码为200,说明接口请求成功,可以正常拿到数据 // 否则的话抛出错误 if (response.status 200) { if (response.headers.x_auth_to 阅读全文
posted @ 2019-11-19 14:13 zaijinyang 阅读(428) 评论(0) 推荐(0) 编辑
摘要: 这是我项目的分页的目录结构,话不多说,直接上代码。 <template> <div class="pagination-container"> <el-pagination :background="background" :current-page.sync="currentPage" :page 阅读全文
posted @ 2019-11-19 14:08 zaijinyang 阅读(1248) 评论(0) 推荐(0) 编辑