要解决这个问题,只需要 <img src="XXX" οnerrοr="this.src='默认图片的图片路径' " /> 转载于:https://www.cnblogs.com/mozhe/archive/2011/04/01/2002458.html