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 @@
-
Checkbox
- {{ single }}
-
single-change
-
- {{ social }}
-
-
-
- Twitter
-
-
-
- Facebook
-
-
-
- Github
-
-
-
- Snapchat
-
-
-
-
修改1
- {{ fruit }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 全选
-
-
-
-
-
+
+
{{ fruit }}
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