在触发change事件时可能需要传递其他参数来改变同一循环中的其他标签的状态,可以像以下这样写:
<radio-group @change="(e) => radioChange(e, options)">
<view class="radio_box" v-for="(item, index) in options" :key="item.id">
<radio :value="item.name" :checked="index === sexCurrent" />{{item.name}}
</view>
</radio-group>