fix: drag block into canvas error (#336)

This commit is contained in:
Hexqi 2024-03-14 19:13:34 +08:00 committed by GitHub
parent 99d0e47c29
commit 38c89a856c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ export default {
iframeMonitoring()
initCanvas({ emit, renderer: detail, iframe: iframe.value, controller: props.controller })
useCanvas().renderer.value = detail
useCanvas().renderer.value = window.api
const doc = iframe.value.contentDocument
const win = iframe.value.contentWindow