选项框代码:
<template>
<view>
<radio-group @change="chan">
<label>
<radio :value="'0'" checked="checked" />确认
<radio :value="'1'" />拒绝
</label>
</radio-group>
</view>
</template>
<script>
data() {
return {
}
},
methods: {
chan(e) {
this.activeRadio = e.detail.value;
//this.activeRadio存的是选中的Value的值
console.log(t