使用defineComponent(setup)定义的子组件

使用v-model语法,双向绑定input

abc

必须要在props中显式声明才能读取属性,接收的属性:default


纯函数组件,没有状态和交互

可以接收属性:hello