|
@@ -85,8 +85,7 @@ class StaffSearch extends Component {
|
|
style={{ width: this.props.width || '200px' }}
|
|
style={{ width: this.props.width || '200px' }}
|
|
dataSource={options}
|
|
dataSource={options}
|
|
placeholder={this.props.placeholder}
|
|
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}
|
|
onChange={this.httpChange}
|
|
filterOption={true}
|
|
filterOption={true}
|
|
onSelect={this.selectAuto}
|
|
onSelect={this.selectAuto}
|