Skip to content

如何将组件所有 props 传递给子组件?

这样

  • 使用 $props
  • 用法: <User v-bind="$props" />

基于 MIT 许可发布