update 打印信息

This commit is contained in:
赵霄
2024-01-30 17:14:11 +08:00
parent b4b37c3bcd
commit b334c1b43a
+1 -2
View File
@@ -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()