(state, pop)
| 159 | } |
| 160 | |
| 161 | stateChange (state, pop) { |
| 162 | // setTimeout wait checkClickAway completed |
| 163 | setTimeout(() => { |
| 164 | this.setState(state); |
| 165 | if (pop && this.props.onChange) { |
| 166 | this.props.onChange(this.getValue()); |
| 167 | } |
| 168 | }, 0); |
| 169 | } |
| 170 | |
| 171 | stageChange (stage) { |
| 172 | this.stateChange({ stage }); |
no test coverage detected