Browse Source

添加银三角摄像头

dev
CODE 1 year ago
parent
commit
bd5c8427c6
  1. 5
      api/app/lib/controllers/data/videoCenter.js
  2. 2
      web/client/src/sections/quanju/containers/footer/leadership/right/right-top.js

5
api/app/lib/controllers/data/videoCenter.js

@ -66,7 +66,10 @@ function videoList(opts) {
}, {
deviceName: '东文大桥',
deviceSerial: 'L48947087',
},]
}, {
deviceName: '银三角',
deviceSerial: 'AC7329717',
}]
const deviceState = await Promise.all(deviceRes_.map(d => {
return app.fs.yingshiRequest.post(`lapp/device/info`, {

2
web/client/src/sections/quanju/containers/footer/leadership/right/right-top.js

@ -50,7 +50,7 @@ const Righttop = ({ videoCenterList }) => {
useEffect(() => {
if (videoCenterList.length) {
setList(videoCenterList.slice(-4))
setList(videoCenterList.slice(-5))
}
}, [videoCenterList])
const renderBody = () => {

Loading…
Cancel
Save