element form如何在 label 前面添加必填 红星
作者:互联网
<el-form-item label="缺陷子类型" :required="true" style="text-align:left"> <el-select clearable placeholder="请选择" dir="rtl" v-model="flowData.frmData.defectItemName" @change="choosechildDefect" style="width:200px" > <el-option v-for="item in childDefectData" :key="item.id" :label="item.childDefectName" :value="item.childDefectName" ></el-option> </el-select> </el-form-item>
标签:必填,form,label,element,添加,红星 来源: https://www.cnblogs.com/mjpblog/p/12196328.html