|
@@ -288,7 +288,7 @@ const UserShow = Form.create()(React.createClass({
|
|
|
</FormItem>
|
|
|
<FormItem
|
|
|
{...formItemLayout}
|
|
|
- label="是否专家" >
|
|
|
+ label="是否明星" >
|
|
|
{getFieldDecorator('celebrity')(
|
|
|
<span>{this.state.celebrity ? "否" : "是"}</span>
|
|
|
)}
|
|
@@ -614,10 +614,10 @@ const UserForm = Form.create()(React.createClass({
|
|
|
{getFieldDecorator('expert', {
|
|
|
initialValue: this.state.expert
|
|
|
})(
|
|
|
- <RadioGroup>
|
|
|
+ <Radio.Group>
|
|
|
<Radio value={0}>否</Radio>
|
|
|
<Radio value={1}>是</Radio>
|
|
|
- </RadioGroup>
|
|
|
+ </Radio.Group>
|
|
|
)}
|
|
|
</FormItem>
|
|
|
<FormItem
|
|
@@ -626,10 +626,10 @@ const UserForm = Form.create()(React.createClass({
|
|
|
{getFieldDecorator('celebrity', {
|
|
|
initialValue: this.state.celebrity
|
|
|
})(
|
|
|
- <RadioGroup>
|
|
|
+ <Radio.Group>
|
|
|
<Radio value={0}>否</Radio>
|
|
|
<Radio value={1}>是</Radio>
|
|
|
- </RadioGroup>
|
|
|
+ </Radio.Group>
|
|
|
)}
|
|
|
</FormItem>
|
|
|
<FormItem
|