addEventListener你用的那个方法是 ie 的iframe = document.createElement('iframe') iframe.src="https://www.lilnong.top/cors/1" iframe.addEventListener('load', console.log) document.body.appendChild(iframe)而且你为什么不直接 @load 呢
addEventListener
你用的那个方法是 ie 的
而且你为什么不直接 @load 呢