From ac5199ad28be2b583ad27530e210f84c3b70abf0 Mon Sep 17 00:00:00 2001 From: dengyinhuan Date: Sat, 30 Jul 2022 22:22:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=A4=A7=E5=B1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/sections/quanju/containers/footer/build/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/client/src/sections/quanju/containers/footer/build/index.js b/web/client/src/sections/quanju/containers/footer/build/index.js index c15ab296..34de6ce3 100644 --- a/web/client/src/sections/quanju/containers/footer/build/index.js +++ b/web/client/src/sections/quanju/containers/footer/build/index.js @@ -223,7 +223,7 @@ const Build = (props) => { {lunboindex}//{lunboMsg.current.index} {/* */} { - + console.log(current,'嘿嘿嘿') setlunboindex(current)}}> {/* { videos.map((v, i) => { @@ -254,13 +254,13 @@ const Build = (props) => { return item.video.map((i,index)=>{ // console.log(i,'视频') console.log(index1,'index1') - if(index1-1===lunboindex){ + if(index1===lunboindex){ // lunbo.current.goTo(lunboindex) console.log("自动播放",index1) return }else{ // console.log("不自动播放",index1) - return + return } }) }