标签: reactjs gatsby
<Link to={`/product/${x.node.handle}/`}> <Img fluid={x.node.images[0].localFile.childImageSharp.fluid} alt={x.node.handle} /> </Link>
引发错误:TypeError: Cannot read property 'childImageSharp' of null
TypeError: Cannot read property 'childImageSharp' of null