()
| 886 | this.$refs.sinaRankBody.style.zoom = this.$refs.sinaRankBody.clientHeight / 450 / (this.$refs.sinaRank.clientWidth / 450) |
| 887 | }, |
| 888 | initData() { |
| 889 | this.number = this.number == this.option.data.length ? 0 : this.number; |
| 890 | this.timer = setTimeout(() => { |
| 891 | this.number++; |
| 892 | this.initData(); |
| 893 | }, this.option.Animationtime * 1000) |
| 894 | } |
| 895 | }, |
| 896 | beforeDestroy() { |
| 897 | clearInterval(this.timer); |
nothing calls this directly
no test coverage detected