diff --git a/src/components/videoDHone/index.vue b/src/components/videoDHone/index.vue index 97065bf..c4b65e7 100644 --- a/src/components/videoDHone/index.vue +++ b/src/components/videoDHone/index.vue @@ -5,7 +5,7 @@ diff --git a/src/components/videoDHone/index.vue b/src/components/videoDHone/index.vue index 97065bf..c4b65e7 100644 --- a/src/components/videoDHone/index.vue +++ b/src/components/videoDHone/index.vue @@ -5,7 +5,7 @@ diff --git a/src/views/pictureOnMap/page/components/DialogTabs/component/ShiPingJianKong.vue b/src/views/pictureOnMap/page/components/DialogTabs/component/ShiPingJianKong.vue index fb0456c..1633893 100644 --- a/src/views/pictureOnMap/page/components/DialogTabs/component/ShiPingJianKong.vue +++ b/src/views/pictureOnMap/page/components/DialogTabs/component/ShiPingJianKong.vue @@ -52,13 +52,14 @@ }); const AllData = reactive({ - cameraIndexCode: '0030845749854a8186d43306256112e7', + cameraIndexCode: '', layout: '1x1', defaultList: [ // { cameraIndexCode: "f8b48c890c054ac190c124bb190a7007", wndId: 7 }, // { cameraIndexCode: "09aa2a2694744cb8b188442b0b2af9b7", wndId: 6 }, ], }); + const cameraName = ref(''); const leftList = ref([]); @@ -93,6 +94,7 @@ ...params, cameraName: cameraName.value, }; + getdataCamera(data).then(res => { console.log('res', res); leftList.value = res.data; @@ -105,6 +107,7 @@ console.log('搞什么啊', props, props.dataId); GetcameraList(); }); + onBeforeUnmount(() => { if (AllData.myVideoPlayer) { hideDHPlayer();