From b944c2467bf1fb87d54beb416cb516ab7530b69b Mon Sep 17 00:00:00 2001 From: neverland Date: Tue, 7 Jul 2020 18:58:12 +0800 Subject: [PATCH] fix(Checkbox): dynamic bind group (#6730) --- src/mixins/relation.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/mixins/relation.js b/src/mixins/relation.js index bcf9cb5dd..f6d503616 100644 --- a/src/mixins/relation.js +++ b/src/mixins/relation.js @@ -30,6 +30,14 @@ export function ChildrenMixin(parent, options = {}) { }, }, + watch: { + disableBindRelation(val) { + if (!val) { + this.bindRelation(); + } + }, + }, + mounted() { this.bindRelation(); },