<div class="img_box operateImg">
<img :src="item.operateImg" :onerror="defaultImg" class="banner-img">
</div>
export default {
name: 'Home',
components: {},
data() {
return {
defaultImg: `this.remove()`
}
}
}
.img_box {
background-color: #fbfbfb;
}
.operateImg {
display: block;
width: 246px;
height: 86px;
border-radius: 10px;
}
.banner-img {
display: block;
width: 246px;
height: 86px;
border-radius: 10px;
}