From 97f3101b4d13061188862dabab0d859c8e64d5c4 Mon Sep 17 00:00:00 2001 From: "suk.bear" Date: Sat, 7 Sep 2024 09:36:26 +0800 Subject: [PATCH] chore: fix ts --- app/pages/v-screen/index/web-camera.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/pages/v-screen/index/web-camera.vue b/app/pages/v-screen/index/web-camera.vue index 0896787..acf073e 100644 --- a/app/pages/v-screen/index/web-camera.vue +++ b/app/pages/v-screen/index/web-camera.vue @@ -6,7 +6,7 @@ const containerRef = ref(null) const canvasRef = ref(null) const { sendMessageToCpp } = useWebChannel({ - onDataUpdated(data) { + onDataUpdated(data: any) { window.console.log('这是QT数据:', data) drawSequenceFrame(data.img) sendMessageToCpp('这是JS数据')