<template>
  <div>
  <el-radio-group v-model="modelValue" @change="radioChange">
    <el-radio label="2">{{$t('reviewPersonSetupIndex.yes')}}</el-radio>
    <el-radio label="1" class="pd-left">{{$t('reviewPersonSetupIndex.no')}}</el-radio>
  </el-radio-group>
  </div>
</template>

<script>
export default {
  props: {
    // v-model绑定的数据
    value: {
      type: [String, Number],
      default: function () {
        return null
      }
    }
  },
  data () {
    return {}
  },
  watch: {
  },
  computed: {
    modelValue: {
      get () {
        return this.value
      },
      set (value) {
        this.$emit('input', value)
      }
    }
  },
  methods: {
    radioChange () {}
  }
}
</script>

<style>
.pd-left {
  padding-left: 14px;
}
</style>
