mirror of
https://github.com/vxcontrol/ncform.git
synced 2026-07-19 18:23:32 -04:00
fix(ncform): wrong code
This commit is contained in:
committed by
Dmitry Nagibin
parent
42493a4109
commit
ccdfc96db4
@@ -175,7 +175,7 @@ export default {
|
||||
ncformValidate() {
|
||||
// 清空验证数组,数组内为promise对象。
|
||||
this.$data.validateArray = [];
|
||||
this.checkValidation(this.$data.dataFormSchema, 'dataFormSchema', '');
|
||||
this.checkValidation(this.$data.dataFormSchema, 'dataFormSchema', 'data');
|
||||
|
||||
return new Promise((resolve, reject) => {
|
||||
Promise.all(this.$data.validateArray).then(data => {
|
||||
|
||||
Reference in New Issue
Block a user