How to select the checkbox automatically by element-ui

I have values in my array. When I edit them, send them back to another page. When my gender value is 1, I will automatically select men. How should I write this? I wrote it in element-ui

.
Apr.24,2022

<template>
  <el-radio v-model="radio" label="1"></el-radio>
  <el-radio v-model="radio" label="2"></el-radio>
</template>

<script>
  export default {
    data () {
      return {
        radio: '2' // el-radiolabel
      };
    }
  }
</script>
Menu