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数据')