给img标签的添加onerror属性,属性中加上默认图片的地址
<img src="" οnerrοr="this.src='/${project_name}/resource/images/404.jpg'" width="150" height="150">
给img标签的添加onerror属性,属性中加上默认图片的地址
<img src="" οnerrοr="this.src='/${project_name}/resource/images/404.jpg'" width="150" height="150">