docs: 错别字修正

This commit is contained in:
wenbo.dong 2017-10-13 16:11:15 +08:00
parent b9e0abccf0
commit b67801a458
2 changed files with 9 additions and 9 deletions

View File

@ -46,7 +46,7 @@ class AddInterfaceForm extends Component {
> >
{getFieldDecorator('name', { {getFieldDecorator('name', {
rules: [{ rules: [{
required: true, message: '输入分类名称!' required: true, message: '输入分类名称!'
}], }],
initialValue: this.props.catdata? this.props.catdata.name || null: null initialValue: this.props.catdata? this.props.catdata.name || null: null
})( })(

View File

@ -97,7 +97,7 @@ class AddInterfaceForm extends Component {
> >
{getFieldDecorator('path', { {getFieldDecorator('path', {
rules: [{ rules: [{
required: true, message: '输入接口路径!' required: true, message: '输入接口路径!'
}] }]
})( })(
<Input onBlur={this.handlePath} addonBefore={prefixSelector} placeholder="/path" /> <Input onBlur={this.handlePath} addonBefore={prefixSelector} placeholder="/path" />