Skip to content

Commit

Permalink
chore: fix ts
Browse files Browse the repository at this point in the history
  • Loading branch information
sukbearai committed Sep 7, 2024
1 parent 7db9d8b commit 97f3101
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/pages/v-screen/index/web-camera.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const containerRef = ref<HTMLCanvasElement | null>(null)
const canvasRef = ref<HTMLCanvasElement | null>(null)
const { sendMessageToCpp } = useWebChannel({
onDataUpdated(data) {
onDataUpdated(data: any) {
window.console.log('这是QT数据:', data)
drawSequenceFrame(data.img)
sendMessageToCpp('这是JS数据')
Expand Down

0 comments on commit 97f3101

Please sign in to comment.