From b4b37c3bcd50c5bea31c06c98553c68238fd8f7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E9=9C=84?= Date: Tue, 30 Jan 2024 16:29:56 +0800 Subject: [PATCH] =?UTF-8?q?add=20=E6=89=93=E5=8D=B0=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/EditorPage.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/views/EditorPage.vue b/src/views/EditorPage.vue index a364852..7037f12 100644 --- a/src/views/EditorPage.vue +++ b/src/views/EditorPage.vue @@ -308,7 +308,9 @@ export default { // 第一次进入在线编辑上面的方法可能会无效,使用下面的方法强行删除dom元素 const parentDom = document.getElementById('placeholder') const iframe = parentDom.children.namedItem('frameEditor') + console.log('留个记号', iframe) if (iframe) { + console.log('手动销毁页面了') const divDom = document.createElement('div') divDom.setAttribute('id', 'iframeEditor') iframe.remove()