fix(Form): reset validate when checkbox changed
This commit is contained in:
@@ -5,6 +5,14 @@ export const FieldMixin = {
|
||||
},
|
||||
},
|
||||
|
||||
watch: {
|
||||
value() {
|
||||
if (this.vanField) {
|
||||
this.vanField.resetValidate();
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
created() {
|
||||
if (this.vanField) {
|
||||
this.vanField.children = this;
|
||||
|
||||
Reference in New Issue
Block a user