摘要: 父向子组件传参 例子:App.vue为父,引入componetA组件之后,则可以在template中使用标签(注意驼峰写法要改成componet-a写法,因为html对大小写不敏感,componenta与componentA对于它来说是一样的,不好区分,所以使用小写-小写这种写法)。而子组件comp 阅读全文
posted @ 2016-10-28 15:58 成忠 阅读(46030) 评论(1) 推荐(2) 编辑
摘要: 声明:本文为转载内容 阅读全文
posted @ 2016-10-28 14:58 成忠 阅读(587) 评论(0) 推荐(0) 编辑