update Form-item
update Form-item
This commit is contained in:
parent
9f5e2c7e4d
commit
9dbff36498
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@
|
|||
|
||||
model[this.prop] = this.fieldValue;
|
||||
|
||||
validator.validate(model, { firstFields: true }, (errors, fields) => {
|
||||
validator.validate(model, { firstFields: true }, errors => {
|
||||
this.validateState = !errors ? 'success' : 'error';
|
||||
this.validateMessage = errors ? errors[0].message : '';
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue