let fieldsToValidate = ['indicativePrice', 'name']; Promise.all(fieldsToValidate.map(item => { return new Promise((resolve, reject) => { this.$refs['formRef'].validateField(item, result => { resolve(result); }) }) })).then(result => { // result返回各个字段的验证信息,如果为空字符串则认为验证通过 let msg = result.find(res => { return res != ''; }); })