摘要:
//自动调整 export default class test1 extends Component{ constructor(props) { super(props); this.handleChange = this.handleChange.bind(this) this.state={ items:[], text:'' }... 阅读全文
摘要:
export default class TimerTest extends Component{ constructor(props) { super(props); this.state = { seconds:0 }; } tick(){ this.setState(preState =>({ seconds:preSt... 阅读全文