react中子組件向父組件傳值

1.子組件使用this.props.函數名來傳值 import React, { Component } from "react"; export default class Son extends Component { constructor(props) { super(props); this.state = { zitext: "我是子組件的008,我要
相關文章
相關標籤/搜索