导入图片时,我收到警告:
Cannot read property '__reactInternalInstance$2f71vks24hx' of null
。
有人可以告诉我为什么会这样吗?
import img_logo from '../../../../images/logo/logo.png';
<img src={img_logo} alt="logo" className="brand-logo"/>
import Images from '../components/images/images';
const Image = Images.icons.map((icon, index) => {
return(
<div key={index} className="technology-container">
<p className="technology-title">{icon.title}</p>
<img src={icon.path} alt={icon.title} className="technology-icon"/>
</div>
);
});
由于