form表单校验对象中的对象的属性 / 根据表单中某一个数据动态添加其他项是否必填<template> <el-form ref="form" :model="form" :rules="rules" label-width="120px"> <div class="info-tag">表单信息</div> <el-row :gutter="20"> <el-col :span="8"> <el-form-item label="数据1" prop="test1" > <el-select v-model="form.test1" placeholder="请选择test1" styl