摘要: 父传子 父组件 <template> <div> <!-- 通过给子组件自定义属性和事件来传递数据 --> <son :fatherAge="age" @fatherMethod="log"></son> </div> </template> <script> import son from './ 阅读全文
posted @ 2021-03-10 12:15 铽楉QAQ 阅读(853) 评论(0) 推荐(0)