From ae30f52597b65b0a87eabeb6509e32d986d0f67e Mon Sep 17 00:00:00 2001 From: Yutang Li Date: Mon, 24 Feb 2025 20:55:16 +0800 Subject: [PATCH] 123 --- frontend/src/components/CameraView/index.vue | 1 + frontend/src/view/reasoning/index.vue | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/CameraView/index.vue b/frontend/src/components/CameraView/index.vue index e54b449..6a501d5 100644 --- a/frontend/src/components/CameraView/index.vue +++ b/frontend/src/components/CameraView/index.vue @@ -77,6 +77,7 @@ const closeCamera = () => { // 关闭所有连接 if (wsOne.value) { + console.log(wsOne.value) wsOne.value.handleClose() wsOne.value = null } diff --git a/frontend/src/view/reasoning/index.vue b/frontend/src/view/reasoning/index.vue index 307fb95..b8dc017 100755 --- a/frontend/src/view/reasoning/index.vue +++ b/frontend/src/view/reasoning/index.vue @@ -92,8 +92,8 @@ const cameraFun = (val: number) => { cameraViewRef.value.cameraNumber = val } const closeCamera = () => { - console.log('closeCamera event received from child component'); cameraShow.value = false + console.log(cameraShow.value); // cameraViewRef.value.cameraNumber = 0 } const reasoningList = ref>([])