diff --git a/examples/routers/checkbox.vue b/examples/routers/checkbox.vue index 3d9635c..399407c 100644 --- a/examples/routers/checkbox.vue +++ b/examples/routers/checkbox.vue @@ -1,56 +1,9 @@ diff --git a/src/components/checkbox/checkbox.vue b/src/components/checkbox/checkbox.vue index 0d76d86..5bc52c2 100644 --- a/src/components/checkbox/checkbox.vue +++ b/src/components/checkbox/checkbox.vue @@ -90,6 +90,8 @@ if (!this.group) { this.updateModel(); this.showSlot = this.$slots.default !== undefined; + } else { + this.parent.updateModel(true); } }, methods: { -- libgit2 0.21.4