当循环遍历数据时,每条数据里还带有一个单选框,uniapp单选框选中时无法反选
<view class="box_a" v-for="(item,index) in listArr" :key="index">
<view class="left">
<image class="box_b" :src="tuUrl+'image/home/pay-bg.png'" mode=""></image>
<view class="box_c">
<view class="box_d">
<view class="d_a">
¥
<text>{{item.reduce}}</text>
</view>
</view>
</view>
</view>
<!-- 单选框 -->
<view class="right">
<label class="radio" @click="chioce(index,item.id,item.reduce)">
<radio :checked="index == indexs?true:false" />
</label>
</view>
</view>
data(){
return{
indexs:0,
tuUrl:this.$baseUrl
}
},