我使用这样的lightbox 这里是使用$(function() { $('a[@rel*=lightbox]').lightBox(); // Select all links that contains lightbox in the attribute rel $('#gallery a').lightBox(); // Select all lin
我检查了浏览器中的代码并检查了图像的src。路径是好的,图像也在./static/media/card-1.7a6bc100.jpg中可用,但不在页面上显示。然后我检查了用户头像图像的代码,src看起来很相似,图像工作正常。我不知道为什么会这样。下面是我的源代码看起来像。import marc from "assets/img/faces/marc.jpg"; 然后我的img标记看起来像这样: <img src={marc} className={imgS