(list, greedy)
| 93 | } |
| 94 | |
| 95 | getChecked (list, greedy) { |
| 96 | let checked = greedy ? 1 : 2; |
| 97 | if (this.state.status >= checked) { |
| 98 | list.push(this.props.data); |
| 99 | } |
| 100 | forEach(this.refs, function (ref) { |
| 101 | ref.getChecked(list, greedy); |
| 102 | }); |
| 103 | } |
| 104 | |
| 105 | renderCheckbox () { |
| 106 | let { selectAble } = this.props; |