From 9dbff3649826af03a6ad7a3e18064f5a918ea635 Mon Sep 17 00:00:00 2001 From: 梁灏 Date: Tue, 3 Jan 2017 16:23:38 +0800 Subject: [PATCH] update Form-item --- src/components/form/form-item.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/form/form-item.vue b/src/components/form/form-item.vue index 2ac5c5d..0e2ca63 100644 --- a/src/components/form/form-item.vue +++ b/src/components/form/form-item.vue @@ -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 : ''; -- libgit2 0.21.4