标签:vue ... data htm html ops title 组件 tle
父:
html
.......
<child :title="sontitle"></child>
......
js
data: sontitle
子:
{{title}}
props:[‘title‘]
就是这么明了
vue父组件给子传参
原文地址:http://www.cnblogs.com/hhweb/p/6931862.html