This commit is contained in:
mo.duan 2019-10-09 17:11:26 +08:00
parent ab7cf4f88e
commit dd2d0315ab
2 changed files with 6 additions and 2 deletions

View file

@ -1,7 +1,7 @@
<template>
<div>
<!--#6076-->
<Carousel loop>
<Carousel loop @on-change="onChange">
<CarouselItem>
<div class="demo-carousel">111111111111</div>
</CarouselItem>
@ -25,7 +25,9 @@
}
},
methods: {
onChange(oldIndex,newIndex){
console.log(oldIndex,newIndex,'------')
}
},
mounted () {