摘要: vue-resource使用 1: cnpm install vue-resource --save(写入package.json中) 安装 2:在main.js引用 3:在组件中直接使用 this.$http.get(url).then(function(){}) axios使用 1:安装 cnp 阅读全文
posted @ 2018-08-29 23:16 java奋斗 阅读(173) 评论(0) 推荐(0) 编辑