|
@@ -43,7 +43,9 @@ export default defineComponent({
|
|
notiData.contentStyle.transitionDuration = '0s';
|
|
notiData.contentStyle.transitionDuration = '0s';
|
|
notiData.contentStyle.transform = `translateX(${notiData.wrapWidth}px)`;
|
|
notiData.contentStyle.transform = `translateX(${notiData.wrapWidth}px)`;
|
|
requestAnimationFrame(() => {
|
|
requestAnimationFrame(() => {
|
|
- startAnimate();
|
|
|
|
|
|
+ requestAnimationFrame(() => {
|
|
|
|
+ startAnimate();
|
|
|
|
+ })
|
|
});
|
|
});
|
|
}, 5 * 1000);
|
|
}, 5 * 1000);
|
|
};
|
|
};
|