<a-input
allowClear
v-decorator="[
'appraiseeName',
{
initialValue: appraiseeInformation.appraiseeName,
rules: [
{ required: true, message: '请输入姓名!' },
{ message: '最多输入200个字符', max: 200 }
],
getValueFromEvent: event => {
return event.target.value.trim()
}
}
]"
placeholder="请输入姓名"
/>
getValueFromEvent属性为当前表单域赋值