摘要: 1、Vue父组件向子组件传递数据? 答:props传参 父组件 <child :list="list"></child> //在这里绑定list对象 子组件 child.vue <template> <ul> <li v-for="(item ,index)in list">{{item}}</li 阅读全文
posted @ 2020-03-04 15:17 九两白菜粥 阅读(345) 评论(0) 推荐(1) 编辑