feat(Form): binding checkbox
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
export const FieldMixin = {
|
||||
inject: {
|
||||
vanField: {
|
||||
default: null,
|
||||
},
|
||||
},
|
||||
|
||||
created() {
|
||||
if (this.vanField) {
|
||||
this.vanField.children = this;
|
||||
}
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user