diff --git a/examples/routers/carousel.vue b/examples/routers/carousel.vue
index 682b570..652a393 100644
--- a/examples/routers/carousel.vue
+++ b/examples/routers/carousel.vue
@@ -2,7 +2,9 @@
- 1
+
+ 1
+
2
diff --git a/src/components/carousel/carousel-item.vue b/src/components/carousel/carousel-item.vue
index 758fe72..3e9e00c 100644
--- a/src/components/carousel/carousel-item.vue
+++ b/src/components/carousel/carousel-item.vue
@@ -25,11 +25,9 @@
}
},
mounted () {
- // todo while
this.$parent.slotChange();
},
beforeDestroy () {
- // todo while
this.$parent.slotChange();
}
};
--
libgit2 0.21.4