Browse Source

(*) 初始视频改为实时视频

master
peng.peng 12 months ago
parent
commit
a600a48056
  1. 2
      super-screen/client/src/sections/water-prevention/components/right-bottom.js

2
super-screen/client/src/sections/water-prevention/components/right-bottom.js

@ -13,7 +13,7 @@ function DataTop5(props) {
if (videoList.length && structures.length) { if (videoList.length && structures.length) {
setShowVideoList(videoList.filter(v => v.structId === structures[0].id)); setShowVideoList(videoList.filter(v => v.structId === structures[0].id));
if (!showVideoList) { if (!showVideoList) {
setShowVideoList(videoList[0]?.url) setShowVideoList(recUrlToLiveUrl(videoList[0]?.url))
} }
} }
}, [videoList]) }, [videoList])

Loading…
Cancel
Save