()
| 1774 | this.changeImg(0) |
| 1775 | }, |
| 1776 | action() { |
| 1777 | if (this.timer) { |
| 1778 | clearInterval(this.timer) |
| 1779 | } |
| 1780 | this.timer = setInterval(() => { |
| 1781 | if (this.currentIndex < this.option.data.length - 1) { |
| 1782 | this.changeImg(this.currentIndex + 1) |
| 1783 | this.currentIndex++ |
| 1784 | } else { |
| 1785 | this.changeImg(0) |
| 1786 | this.currentIndex = 0 |
| 1787 | } |
| 1788 | this.changeBluePrintConfig(this.config) |
| 1789 | }, this.option.Animationtime * 1000); |
| 1790 | }, |
| 1791 | changeTab(index) { |
| 1792 | if (this.timer) { |
| 1793 | clearInterval(this.timer) |
nothing calls this directly
no outgoing calls
no test coverage detected