diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/RoadAndEvents/utils/buttonEvent.js b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/RoadAndEvents/utils/buttonEvent.js index 191b7d2d..d08b34ea 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/RoadAndEvents/utils/buttonEvent.js +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/RoadAndEvents/utils/buttonEvent.js @@ -33,30 +33,30 @@ export const eventMap = { // status: "0", // }; - // const data = await getDeviceList(1); - const data = [ - { - longitude: 116.268564, - latitude: 35.73115, - otherConfig: '{"ptzCtrl":0}', - }, - { - longitude: 116.258178, - latitude: 35.720996, - }, - { - longitude: 116.255542, - latitude: 35.717335, - }, - { - longitude: 116.252883, - latitude: 35.713114, - }, - { - longitude: 116.249416, - latitude: 35.707627, - }, - ]; + const data = await getDeviceList(1); + // const data = [ + // { + // longitude: 116.268564, + // latitude: 35.73115, + // otherConfig: '{"ptzCtrl":0}', + // }, + // { + // longitude: 116.258178, + // latitude: 35.720996, + // }, + // { + // longitude: 116.255542, + // latitude: 35.717335, + // }, + // { + // longitude: 116.252883, + // latitude: 35.713114, + // }, + // { + // longitude: 116.249416, + // latitude: 35.707627, + // }, + // ]; if (!data) return;