react中子组件向父组件传值

1.子组件使用this.props.函数名来传值 import React, { Component } from "react"; export default class Son extends Component { constructor(props) { super(props); this.state = { zitext: "我是子组件的008,我要
相关文章
相关标签/搜索