< el-row >
<el-col :span="12">
<el-form-item label="" prop="nationality">
<el-radio-group v-model="ruleForm.nationality">
<el-radio label="1"></el-radio>
<el-radio label="2"></el-radio>
</el-radio-group>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item prop="date1" label="" v-if="ruleForm.nationality==2">
<el-input v-model="ruleForm.nationalityOther"></el-input>
</el-form-item>
</el-col>
</el-row>
when selecting other options, the following input box is required
"nationality": [{"required": true}, {
"validator": function (rule, value, callback) {
}
}]