摘要: 父子组件间通讯: 1.props 和 emit 这个就不说了,比较简单 ( 父组件传递:bar="bar",子组件接收 props:{ bar,}) 2. v-bind="$attrs" & v-bind="$props" & v-on="$listeners" 1.v-bind="$props" 阅读全文
posted @ 2021-09-03 17:31 ming-os9 阅读(36) 评论(0) 推荐(0) 编辑