摘要: 在我们使用vue的axios时通常会和api打交道,会涉及一些参数的传递。 axios.delete('/delete',{ params:{ //这里也可以用data id:22 } }).then(res=>res.data).then(res=>{ console.log(res); }) 而 阅读全文
posted @ 2020-02-24 20:06 Duanson 阅读(803) 评论(0) 推荐(0)