I would have an object to represent the state, a field for each panel. Like this: constructor(props) { ... this.state = { requestFailed: ...
確定! 回上一頁