Merge pull request #9760 from dataease/pr@dev-v2@fix_spell

fix: 修改拼写问题
This commit is contained in:
王嘉豪 2024-05-22 09:07:10 +08:00 committed by GitHub
commit 2c72063982
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -122,7 +122,7 @@ const loadCanvasDataAsync = async (dvId, dvType) => {
}
)
}
const winMsgHandel = event => {
const winMsgHandle = event => {
const msgInfo = JSON.parse(event.data.info)
if (msgInfo.type === 'attachParams') {
const attachParam = msgInfo.params
@ -142,11 +142,11 @@ onMounted(async () => {
return
}
dvMainStore.setPublicLinkStatus(props.publicLinkStatus)
window.addEventListener('embedParamsMessage', winMsgHandel)
window.addEventListener('embedParamsMessage', winMsgHandle)
})
onUnmounted(() => {
window.removeEventListener('embedParamsMessage', winMsgHandel)
window.removeEventListener('embedParamsMessage', winMsgHandle)
})
defineExpose({