欢迎来到 Renly 的博客园,如果小伙伴们有需要讲解的技术,可以给笔者发消息或邮件留言!【renlywen@foxmail.com】
摘要: 一、创建父子组件 父组件:parent.vue <template> <div class="parent"> <h3>我是父组件</h3> <p>父组件的年龄是:{parentAge}}</p> </div> </template> <script> export default { data() 阅读全文
posted @ 2020-08-24 17:13 Renly_wen 阅读(247) 评论(0) 推荐(0) 编辑
……