Browse Source

视频5min轮播一次

dev
巴林闲侠 1 year ago
parent
commit
1374be5db9
  1. 2
      web/client/src/sections/quanju/containers/footer/leadership/left/left-center.js

2
web/client/src/sections/quanju/containers/footer/leadership/left/left-center.js

@ -36,7 +36,7 @@ const Leftcenter = ({ videoCenterList }) => {
setNum(num + 1); setNum(num + 1);
// setTu(list[num].img); // setTu(list[num].img);
} }
}, 2000 * 10); }, 1000 * 60 * 5);
return () => clearInterval(timer); return () => clearInterval(timer);
}, [num]); }, [num]);

Loading…
Cancel
Save