@ -29,16 +29,15 @@
<Button style="margin-left: 5px" @click.native="controlClick(48)">关</Button>
</div>
</ElTabPane>
<ElTabPane label="摄相机参数" name="second">摄相机参数</ElTabPane>
<!-- <ElTabPane label="摄相机参数" name="second">摄相机参数</ElTabPane> -->
<ElTabPane label="在线率统计" name="third">
<LineChart v-if="activeName === 'third'" :productId="dialogData.id" style="height: 180px" />
</ElTabs>
<div class="bottom">
<!-- <Button>云台控制</Button> -->
<!-- <div class="bottom">
<Button> 录像查看</Button>
</div> -->
<CameraControlDialog :deviceId="dialogData.iotDeviceId" v-model="controlDialogVisible" />
@ -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();