element-ui裏,對於經過v-for渲染的el-form-item組件,使用自帶的表單驗證

<el-form :model="dynamicValidateForm" ref="dynamicValidateForm" label-width="100px" class="demo-dynamic"> <el-form-item prop="email" label="郵箱" :rules="[ { required: true, message: '請輸入郵箱地址', trigge
相關文章
相關標籤/搜索