update Carousel
update Carousel
This commit is contained in:
parent
99cde29d04
commit
907feda4ce
2 changed files with 3 additions and 3 deletions
|
@ -2,7 +2,9 @@
|
|||
<div>
|
||||
<Carousel v-model="v1" dots="inside" trigger="hover">
|
||||
<Carousel-item>
|
||||
<div class="demo-carousel">1</div>
|
||||
<Card>
|
||||
<div class="demo-carousel">1</div>
|
||||
</Card>
|
||||
</Carousel-item>
|
||||
<Carousel-item>
|
||||
<div class="demo-carousel">2</div>
|
||||
|
|
|
@ -25,11 +25,9 @@
|
|||
}
|
||||
},
|
||||
mounted () {
|
||||
// todo while
|
||||
this.$parent.slotChange();
|
||||
},
|
||||
beforeDestroy () {
|
||||
// todo while
|
||||
this.$parent.slotChange();
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue