摘要: 参考地址 https://youzan.github.io/vant/ /zh CN/tree select 父组件 子组件 阅读全文
posted @ 2020-03-16 23:15 Alex_Mercer 阅读(8668) 评论(0) 推荐(0) 编辑
摘要: 参考教程 https://www.cnblogs.com/mandy dyf/p/11528505.html 插槽的使用 最简单的使用 //父组件可以再slot 中可以放置多个元素,会一起替代掉原有的默认,都会显示出来 子组件 cart 组件 父组件 此时 button就会替代slot 默认插槽 子 阅读全文
posted @ 2020-03-16 21:16 Alex_Mercer 阅读(233) 评论(0) 推荐(0) 编辑
摘要: 参考链接 https://www.jb51.net/article/143049.htm 全局组件与局部组件 全局注册 Vue.component('my cpn',myCpn) 局部注册 components 组件参数传递 驼峰标识 写法 props:{'childM'} :child m 父组件 阅读全文
posted @ 2020-03-16 20:20 Alex_Mercer 阅读(129) 评论(0) 推荐(0) 编辑
摘要: 参考链接: https://blog.csdn.net/intzhou/article/details/81677009 git pull origin master git push origin master 阅读全文
posted @ 2020-03-16 08:16 Alex_Mercer 阅读(88) 评论(0) 推荐(0) 编辑