效果图如下:
<el-form
ref="groupForm"
:model="form"
label-position="top"
label-width="80px">
<el-form-item label="名称" prop="label" :rules=" [{ required:true, message: '名称不能为空'}]" :required="true">
<div class="el-input el-input__inner"
style="display: flex; // 让盒子具有弹性
flex-direction: row; //横向从左到右排列(左对齐)。
justify-content: start;
align-items: center">
<