<Form.Item label="分类名称(英文)"
validateStatus={errorStatusEn}
help={errorMsgEn}
>
{getFieldDecorator('classNameEn', {
initialValue: classNameEn,
rules: [
{ max: 100, message: '分类名称(英文)不能超过100位' }
],
})(<Input placeholder="请输入" autoComplete={'off'}/>)}
</Form.Item>
设置了validateStatus作为点击提交后的验证提示提示,但是现在未提交时无法验证getFieldDecorator里的规则