一、在el-form-item标签上加class="is-required" <el-form-item label="测试" class="is-required"> 测试 </el-form-item>