js判断<img>是否含有图片var g=document.getElementById("div1")var img=new Image()img.src=g.srcif(img.readyState == 'complete'2023-03-14JavaScript300