diff --git a/src/views/EditorPage.vue b/src/views/EditorPage.vue index 7037f12..cad10f3 100644 --- a/src/views/EditorPage.vue +++ b/src/views/EditorPage.vue @@ -308,9 +308,8 @@ export default { // 第一次进入在线编辑上面的方法可能会无效,使用下面的方法强行删除dom元素 const parentDom = document.getElementById('placeholder') const iframe = parentDom.children.namedItem('frameEditor') - console.log('留个记号', iframe) + console.log('看看部署上没有') if (iframe) { - console.log('手动销毁页面了') const divDom = document.createElement('div') divDom.setAttribute('id', 'iframeEditor') iframe.remove()