diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/Camera/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/Camera/index.vue index a00f4674..206d1ee3 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/Camera/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/Camera/index.vue @@ -29,16 +29,15 @@ - 摄相机参数 + -
- +
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 25b5bb13..bc08da6f 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 @@ -88,7 +88,9 @@ let debounceNoneLngLatMessage = debounce(() => { function resolveDataOptions(data, config, component, isDefault) { let lnglat = - data.longitude && data.latitude ? [data.longitude, data.latitude] : null; + data.longitude && data.latitude + ? [parseFloat(data.longitude), parseFloat(data.latitude)] + : null; if (!lnglat && !isDefault) debounceNoneLngLatMessage();