文章分类 -  vue

摘要:自己记性不好,所以把请求的方法记一下 1.get请求 getShop(){ this.$axios.get('url地址',{params:{id:4}}) .then(res=>{ console.log(res) }) } 2.post请求 this.$axios.post('url地址',{v 阅读全文
posted @ 2019-12-02 18:50 四月和秋天 阅读(6888) 评论(0) 推荐(1)