There is a native event for images called onerror that lets perform an action if the image cannot be loaded. <img onError={this.addDefaultSrc} className="img- ...
確定! 回上一頁