<span v-for="ele in novels">
书名:{{ele.novelName}}<br>
<img width='80px' height='100px' :src="['../files/cover/' + ele.pic]" />//路径拼接
Vue循环中拼接图片路径
最新推荐文章于 2023-05-28 10:38:34 发布
<span v-for="ele in novels">
书名:{{ele.novelName}}<br>
<img width='80px' height='100px' :src="['../files/cover/' + ele.pic]" />//路径拼接