there are three ul, on my page. I switch the contents of the ul when I click, but when I switch, I will see the content of the last ul flash. How to solve the problem of flashing?
my code is like this
<ul>
<li v-for="(item,index) in shebeide">
<span class="span_three" :title="item.deviceName">{{item.deviceName}}</span>
<button @click="tianjianshei(item,index)" class="tianjian_lei"></button>
</li>
</ul>
The effect of the page is like this
when I click to add a device, the text in my last ul will flash and become current. It feels like it should be reused, but I don"t know how to solve this problem