<el-form :model="form"> <el-form-item label="等级名称" :label-width="formLabelWidth" prop="name" :rules="[{ required: true, message: '请输入等级名称', trigger: 'blur' }]"> </el-form-item> </el-form>
标签:vue,未填则,必填,提示,校验,进行 From: https://www.cnblogs.com/lytcreate/p/17632004.html