how can the data looped out by vue change color to the current one when clicked?
this is what my page says
<ol v-if="tooglezhi" class="ol_one">
<li v-for="(item,key) in arr"
@click="son(item,key)"><span></span>{{item}}</li>
</ol>
data
when I click on one of them, how can I change color in vue? I"ve always written it in jquery
.