Mysql JQuery自动修复损坏图片 2021年10月29日 / 检测损坏图片并根据我们的选择加以替换。 $('img').error(function(){ $(this).attr('src', 'img/broken.png'); });