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 9562aee2..d3ec4006 100644 --- a/web/client/src/sections/quanju/containers/footer/build/index.js +++ b/web/client/src/sections/quanju/containers/footer/build/index.js @@ -222,9 +222,7 @@ const Build = (props) => {
{/* */} - { - console.log(current,'嘿嘿嘿') - setlunboindex(current)}}> + {/* { videos.map((v, i) => { console.log('first') @@ -248,8 +246,8 @@ const Build = (props) => { } */} { - xuandata&&xuandata!==null&&xuandata.length!==0?xuandata.map((item,index1)=>{ - if(item.enable){ + xuandata&&xuandata!==null&&xuandata.length!==0?xuandata.filter(i=>i.enable).map((item,index1)=>{ + if(item.video&&item.video!==null&&item.video.length!==0){ return item.video.map((i,index)=>{ // console.log(i,'视频') @@ -257,7 +255,16 @@ const Build = (props) => { if(index1===lunboindex){ // lunbo.current.goTo(lunboindex) console.log("自动播放",index1) - return + return }else{ // console.log("不自动播放",index1) return @@ -265,7 +272,7 @@ const Build = (props) => { }) } // return - } + }) : }