let iframe = document.getElementById('ifram');
console.log('iframe By id',iframe.contentWindow.document.querySelectorAll('.page'))
获取iframe里面的数据
于 2022-03-02 17:21:46 首次发布
let iframe = document.getElementById('ifram');
console.log('iframe By id',iframe.contentWindow.document.querySelectorAll('.page'))