diff --git a/api/app/lib/controllers/data/videoCenter.js b/api/app/lib/controllers/data/videoCenter.js
index 9a074fa7..c3243325 100644
--- a/api/app/lib/controllers/data/videoCenter.js
+++ b/api/app/lib/controllers/data/videoCenter.js
@@ -2,7 +2,7 @@
const moment = require('moment')
const request = require('superagent')
-function videoList(opts) {
+function videoList (opts) {
return async function (ctx) {
try {
const { models, } = ctx.fs.dc;
@@ -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`, {
diff --git a/web/client/src/sections/quanju/containers/footer/leadership/right/right-top.js b/web/client/src/sections/quanju/containers/footer/leadership/right/right-top.js
index 8fd1c6f5..e2e2c7ed 100644
--- a/web/client/src/sections/quanju/containers/footer/leadership/right/right-top.js
+++ b/web/client/src/sections/quanju/containers/footer/leadership/right/right-top.js
@@ -48,11 +48,11 @@ const Righttop = ({ videoCenterList }) => {
// return () => clearInterval(timer);
// }, [num]);
- useEffect(() => {
- if (videoCenterList.length) {
- setList(videoCenterList.slice(-4))
- }
- }, [videoCenterList])
+ useEffect(() => {
+ if (videoCenterList.length) {
+ setList(videoCenterList.slice(-5))
+ }
+ }, [videoCenterList])
const renderBody = () => {
const offlineDevice = videoCenterList.filter(v => v.status == 0)
return (
@@ -79,7 +79,7 @@ const Righttop = ({ videoCenterList }) => {
)
}) :
-
+
}
)