diff --git a/src/containers/all-streams/index.tsx b/src/containers/all-streams/index.tsx index 23adc7e63..e064fbb3f 100644 --- a/src/containers/all-streams/index.tsx +++ b/src/containers/all-streams/index.tsx @@ -249,12 +249,10 @@ const GridListShow = observer(({ streamList, columnRowCount = 2, orientationUpTo streamList.forEach((item,index)=>{ if(index < startIndex || index >= endIndex){ visibleStreams.delete(item.stream.streamUuid); + }else{ + visibleStreams.set(item.stream.streamUuid, item.stream); } }) - //显示当前的 - currentPageShowStreamList.forEach((item) => { - visibleStreams.set(item.stream.streamUuid, item.stream); - }) subscribeMass(visibleStreams); } useEffect(resetShowList, [currentPage, streamList, isLandscape, orientationUpToDown])