摘要: 1 class MyComponent extends Component { 2 constructor(props) { 3 super(props); 4 this.state = { 5 name: 'Hello World', 6 }; 7 } 8 9 componentWillMount 阅读全文
posted @ 2019-06-14 09:58 程序員劝退师 阅读(253) 评论(0) 推荐(0) 编辑