n20-common-lib 2.19.5 → 2.19.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -437,6 +437,10 @@ export default {
|
|
|
437
437
|
validate(callback) {
|
|
438
438
|
return this.$refs.form.validate(callback)
|
|
439
439
|
},
|
|
440
|
+
// 表单单项校验
|
|
441
|
+
validateField(field, callback) {
|
|
442
|
+
return this.$refs.form.validateField(field, callback)
|
|
443
|
+
},
|
|
440
444
|
// 表单重置方法
|
|
441
445
|
resetFields() {
|
|
442
446
|
return this.$refs.form.resetFields()
|