当前浏览器不支持canvas,请更换浏览器后再试
摘要: 本文的主要内容如下: 介绍vue-resource的特点 介绍vue-resource的基本使用方法 基于this.$http的增删查改示例 基于this.$resource的增删查改示例 基于inteceptor实现请求等待时的loading画面 基于inteceptor实现请求错误时的提示画面 阅读全文
posted @ 2017-06-14 15:35 高亮uncle 阅读(226) 评论(0) 推荐(0) 编辑
摘要: 1.Vuejs组件 vuejs构建组件使用 Vue.component('componentName',{ /*component*/ }); 这里注意一点,组件要先注册再使用,也就是说: Vue.component('mine',{ template:'#mineTpl', props:['nam 阅读全文
posted @ 2017-06-14 14:42 高亮uncle 阅读(802) 评论(0) 推荐(0) 编辑