feat(NoticeBar): add replay event (#6079)

This commit is contained in:
neverland
2020-04-17 21:34:02 +08:00
committed by GitHub
parent 31674a162c
commit e95e09764a
4 changed files with 24 additions and 9 deletions
+1
View File
@@ -72,6 +72,7 @@ export default createComponent({
this.$nextTick(() => {
this.duration = (this.offsetWidth + this.wrapWidth) / this.speed;
this.animationClass = bem('play--infinite');
this.$emit('replay');
});
},
},