diff --git a/src/components/carousel/Carousel.vue b/src/components/carousel/Carousel.vue index 11e371933..4b0acf1c4 100755 --- a/src/components/carousel/Carousel.vue +++ b/src/components/carousel/Carousel.vue @@ -477,7 +477,7 @@ export default { }, computed: { totalIndicators() { - return this.value ? Math.ceil((this.value.length - this.d_numVisible) / this.d_numScroll) + 1 : 0; + return this.value ? Math.max(Math.ceil((this.value.length - this.d_numVisible) / this.d_numScroll) + 1, 0) : 0; }, backwardIsDisabled() { return (this.value && (!this.circular || this.value.length < this.d_numVisible) && this.d_page === 0);