2019年11月19日

vue2.0模拟后台数据交互

摘要: 一、模拟后台数据,需要vue-resource组件 1.$npm install vue-resource --save 2.在main.js中引入并使用 import VResource from 'vue-resource' Vue.use(VResource); 二、模拟后台数据配置 这里用e 阅读全文

posted @ 2019-11-19 17:10 碎片时间 阅读(477) 评论(0) 推荐(0) 编辑

导航