|
@@ -85,8 +85,7 @@ class StaffSearch extends Component {
|
|
|
style={{ width: this.props.width || '200px' }}
|
|
|
dataSource={options}
|
|
|
placeholder={this.props.placeholder}
|
|
|
- value={this.props.valueName}
|
|
|
- // value={this.state.superior ? this.state.superior : this.props.valueName}
|
|
|
+ value={this.state.superior ? this.state.superior : this.props.valueName}
|
|
|
onChange={this.httpChange}
|
|
|
filterOption={true}
|
|
|
onSelect={this.selectAuto}
|