add 打印信息

This commit is contained in:
赵霄
2024-01-30 16:29:56 +08:00
parent 8afbce134a
commit b4b37c3bcd
+2
View File
@@ -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()