Browse Source

修改提交

wangqin
Joe 10 months ago
parent
commit
ef4fae75db
  1. 12
      ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/RoadAndEvents/utils/buttonEvent.js

12
ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/RoadAndEvents/utils/buttonEvent.js

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

Loading…
Cancel
Save