radio单选

值:0
<template>
<el-row :span="24">
  <el-col :span="6">
   值:{{form}}<br/>
   <avue-radio v-model="form"  :dic="dic"></avue-radio>
  </el-col>
</el-row>
</template>
<script>
export default {
    data() {
      return {
        form:0,
        dic:[{
          label:'选项1',
          value:0
        },{
          label:'选项2',
          value:1
        }]
      }
    }
}
</script>
显示代码
Last Updated:
Contributors: smallwei
您正在浏览基于Avue 3.x文档; 点击这里 查看Avue 2.x 的文档