|
@@ -218,17 +218,17 @@ const handleStageClick = (e: any) => {
|
|
|
// 判断是否为右键点击
|
|
// 判断是否为右键点击
|
|
|
if (e.evt.button === 2) {
|
|
if (e.evt.button === 2) {
|
|
|
lastClickedGroupId.value = parent.id();
|
|
lastClickedGroupId.value = parent.id();
|
|
|
- const clickedVideoUrl = props.filterData.find(
|
|
|
|
|
- (item) => item.code === lastClickedGroupId.value,
|
|
|
|
|
- );
|
|
|
|
|
-
|
|
|
|
|
- const videoUrl = clickedVideoUrl.pushStreamDTO?.videoUrls?.pushstreamIpAbs
|
|
|
|
|
- if (videoUrl) {
|
|
|
|
|
- lastClickedVideoUrl.value = videoUrl;
|
|
|
|
|
- } else {
|
|
|
|
|
- ElMessage.error("视频地址不存在")
|
|
|
|
|
- return;
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ // const clickedVideoUrl = props.filterData.find(
|
|
|
|
|
+ // (item) => item.code === lastClickedGroupId.value,
|
|
|
|
|
+ // );
|
|
|
|
|
+
|
|
|
|
|
+ // const videoUrl = clickedVideoUrl.pushStreamDTO?.videoUrls?.pushstreamIpAbs
|
|
|
|
|
+ // if (videoUrl) {
|
|
|
|
|
+ // lastClickedVideoUrl.value = videoUrl;
|
|
|
|
|
+ // } else {
|
|
|
|
|
+ // ElMessage.error("视频地址不存在")
|
|
|
|
|
+ // return;
|
|
|
|
|
+ // }
|
|
|
isShow.value = false;
|
|
isShow.value = false;
|
|
|
posX.value = e.evt.offsetX + 20;
|
|
posX.value = e.evt.offsetX + 20;
|
|
|
posY.value = e.evt.offsetY;
|
|
posY.value = e.evt.offsetY;
|