//ES6 class App extends React.Component { //默认属性 static defaultProps = { name: "sherry", age: 20, }; // 注意这里有分号 //属性类型检查 static propTypes ...
確定! 回上一頁