获取父页面DOM元素

let a = parent.document.getElementById("showGltf")
console.log(a);
let b = window.document.getElementById("showGltf")
console.log(b);
posted @ 2021-11-12 11:08  zcbj588  阅读(49)  评论(0)    收藏  举报