feat(Form): binding checkbox

This commit is contained in:
陈嘉涵
2020-02-10 10:57:57 +08:00
parent f385c94040
commit 1fe96f3edc
5 changed files with 32 additions and 4 deletions
+13
View File
@@ -0,0 +1,13 @@
export const FieldMixin = {
inject: {
vanField: {
default: null,
},
},
created() {
if (this.vanField) {
this.vanField.children = this;
}
},
};