@ -69,7 +69,7 @@ export const eventMap = {
(extData) => {
this.dialogConfig = {
// 0 有(球机) 1 ⽆(枪机)
component: cameraCtrlMap[extData.ptzCtrl],
component: cameraCtrlMap[extData.other_config?.ptzCtrl],
data: extData,
};
}
@ -146,7 +146,7 @@ export async function setMarkToMap(item, data, _markerClick, content) {
height: 18px;
margin-left: 3px;
margin-bottom: 6px;
" src='${item.status !== "0" ? fault : normal}'>
" src='${item.device_state !== "0" ? fault : normal}'>
</div>`,
}),