表单输入验证的时候同意可以不用输入内容,不同意必须填写原因
el-form(ref="form" :model="form" :rules="rules" class="demo-ruleForm" v-if="operObj.type === 2") el-form-item el-radio-group(v-model="radio") el-radio(label="agree")='同意' el-radio(label="disagree")='不同意' el-form-item(v-if="radio === 'disagree'" prop="content") el-input(type="textarea" v-model="form.content" rows="4" resize="none" placeholder="审核意见") el-input(v-else type="textarea" v-model="form.content" rows="4" resize="none" placeholder="审核意见")