From 4ba0582f95024fce8de4b7cbdda542315188414c Mon Sep 17 00:00:00 2001 From: wenlele Date: Fri, 9 Dec 2022 16:29:22 +0800 Subject: [PATCH] ceshi --- .../VideoAccess-VCMP/web/client/src/components/textScroll.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/VideoAccess-VCMP/web/client/src/components/textScroll.jsx b/code/VideoAccess-VCMP/web/client/src/components/textScroll.jsx index 4e50625..480d5d6 100644 --- a/code/VideoAccess-VCMP/web/client/src/components/textScroll.jsx +++ b/code/VideoAccess-VCMP/web/client/src/components/textScroll.jsx @@ -78,9 +78,9 @@ function TextScroll (props) { text = window.requestAnimationFrame(scroll) cancel.current = text } + + // window.requestAnimationFrame(scroll) console.log(44444); - - window.requestAnimationFrame(scroll) } } }, [content, roll])