(nextProps)
| 36 | } |
| 37 | |
| 38 | componentWillReceiveProps (nextProps) { |
| 39 | if (!deepEqual(nextProps.value, this.props.value)) { |
| 40 | this.setValue(nextProps.value); |
| 41 | } |
| 42 | if (!deepEqual(nextProps.data, this.props.data)) { |
| 43 | this.formatData(nextProps.data); |
| 44 | } |
| 45 | if (nextProps.sep !== this.props.sep || |
| 46 | nextProps.greedy !== this.props.greedy) { |
| 47 | this.handleChange(); |
| 48 | } |
| 49 | } |
| 50 | |
| 51 | componentWillUpdate (nextProps, nextState) { |
| 52 | // initValue 和 initData 分开处理 |
nothing calls this directly
no test coverage detected
searching dependent graphs…