problem description
I want to use the Cell Swipe component for the mint ui of vue, but half of it is displayed in the list before the left slide on the right. How to solve it?
the environmental background of the problems and what methods you have tried
related codes
/ / Please paste the code text below (do not replace the code with pictures)
< mt-cell-swipe
title=""
:right="delBtn">
<div class="img"><img src="../../images/nimg130_1.png"></div>
<div class="name"></div>
</mt-cell-swipe>
created () {
this.delBtn=[
{
content: "",
style: { background: "-sharpfb1832", color: "-sharpfff"},
handler: () => this.$messagebox("delete")
}
]
},