I need to iterate a function with its argument but got the recursion error
Error in mounted hook: "InternalError: too much recursion"
the function:
methods: {
showSlides: function(n) {
console.log(n);
setTimeout(this.showSlides(n), 3000);
//setTimeout(this.showSlides(n++), 3000);
}
},