introduced two ways to react within a picture station:
1, by introducing import pictures
import yesPic from "../assets/images/yes.png";
import noPic from "../assets/images/no.png";
使用:
<img src={yesPic} alt=""/>
2, require the use of a method in which src
<img src={require("../assets/images/yes.png)} alt=" " >
react introduced network picture mode:
1, by stitching +
<img src={"//www.lgstatic.com/"+v.companyLogo}/>
2, template string
<img src={`//www.lgstatic.com/${v.companyLogo}`}/>