|
@@ -513,7 +513,7 @@ const Expert = React.createClass({
|
|
|
<FormItem className="half-item" {...formItemLayout} label="顾问类型">
|
|
|
{getFieldDecorator('adviserType', {
|
|
|
rules: [ { required: true, message: '此项为必填项!' } ],
|
|
|
- initialValue: theData.consultantType=='0'?theData.consultantType.toString():undefined
|
|
|
+ initialValue: (theData.consultantType||theData.consultantType=='0')&&theData.consultantType.toString()
|
|
|
})(
|
|
|
<Select placeholder="选择类型">
|
|
|
{adviserType.map(function(item) {
|