vue单选按钮,选中改变其当前按钮颜色
html:
<span v-for="(item,index) in state" :key="index"
@click="leftChange(index)"
:class="{ liBackground:changeLeftBackground == index}"> {
html:
<vue单选按钮,选中改变其当前按钮颜色
html:
<span v-for="(item,index) in state" :key="index"
@click="leftChange(index)"
:class="{ liBackground:changeLeftBackground == index}"> {
html:
<