<template>
  <van-radio-group v-model="select" :direction="item.attr.direction">
    <h5-van-radio v-for="(v,i) in (item.child_list || [])" :key="i" :item="v"></h5-van-radio>
  </van-radio-group>
</template>
<script setup>
import { defineProps, ref } from 'vue';
import H5VanRadio from './van_radio.vue';
const props = defineProps({
  item: Object,
});
const select = ref(props.item.child_list ? props.item.child_list[0].attr.name : "");
</script>
