use v-for to loop local pictures in the vue project, and the pictures are not displayed. The full path can be printed out in the p tag, but the picture is not displayed, as shown in the following figure
< el-carousel-item VFF = "(item, index) in imgList": key= "index" >
{{item.imgurl}}
<img v-bind:src="item.imgurl">
< / el-carousel-item >
export default {
name: "index",
data () {
return{
imgList:[
{imgurl:"../../assets/banner0.jpg",name:"3"},
{imgurl:"../../assets/banner1.jpg",name:"1"},
]
}
},
}