@ -67,11 +67,13 @@ export const eventMap = {
item,
data,
(extData) => {
this.dialogConfig = {
try {
// 0 有(球机) 1 ⽆(枪机)
component: cameraCtrlMap[extData.other_config?.ptzCtrl],
data: extData,
component: cameraCtrlMap[JSON.parse(extData.other_config)?.ptzCtrl],
};
} catch (error) {}
}
);
},