JS如何判断图片加载失败自己找两个图片测试吧,我自己找了个a.png.<html><head><script>window.onload = function(){alert('2023-03-01JavaScript120