摘要: 在Vue中使用插槽(solt) header--> footer 阅读全文
posted @ 2018-11-23 10:05 alexbiu 阅读(1659) 评论(0) 推荐(0) 编辑
摘要: 非父子组件间的传值(Bus/总线/发布订阅模式/观察者模式) 阅读全文
posted @ 2018-11-20 11:44 alexbiu 阅读(185) 评论(0) 推荐(0) 编辑
摘要: 给组件绑定原生事件 阅读全文
posted @ 2018-11-20 11:17 alexbiu 阅读(207) 评论(0) 推荐(0) 编辑
摘要: 组件参数校验与非props特性 阅读全文
posted @ 2018-11-20 09:45 alexbiu 阅读(122) 评论(0) 推荐(0) 编辑
摘要: 父子组件传值 {{total}} 阅读全文
posted @ 2018-11-20 09:09 alexbiu 阅读(247) 评论(0) 推荐(0) 编辑
摘要: 组件使用中的细节点 --> --> --> --> --> --> --> {{total}} 这样就符合h5规范,程... 阅读全文
posted @ 2018-11-19 19:50 alexbiu 阅读(228) 评论(0) 推荐(0) 编辑
摘要: Vue中set方法 --> <!–对对象进行循环–> --> {{item}} 阅读全文
posted @ 2018-11-16 11:02 alexbiu 阅读(17713) 评论(0) 推荐(0) 编辑
摘要: Vue中列表渲染 --> <!–使用key值提高查询效率 template模板占位符,并不渲染在页面上–>--> --> --> ... 阅读全文
posted @ 2018-11-16 10:41 alexbiu 阅读(1708) 评论(0) 推荐(0) 编辑
摘要: vue中的样式绑定 hello world Vue中内联样式绑定 --> hello world 阅读全文
posted @ 2018-11-15 10:18 alexbiu 阅读(305) 评论(0) 推荐(0) 编辑
摘要: 计算属性的setter和getter {{fullName}} 阅读全文
posted @ 2018-11-15 09:23 alexbiu 阅读(743) 评论(0) 推荐(0) 编辑