react hook 父子组件通信父组件<codeimportChildfrom&39;component/Child&39;</code<pre<codeconstdataobj{pdata1:1,pdate2:2}constdataobj,s