<style scoped>
::v-deep .el-form-item__label {
display: inline;
text-align-last: justify;
}
</style>
需要给两个form设置同样的label-width
<el-form-item label="信号机名称" label-width="75px">
<el-input type="text" v-model="props.info.content.name"></el-input>
</el-form-item>
<el-form-item label="咽喉" label-width="75px">
<el-select v-model="props.attr.yhData" placeholder="请选择" @change="handleChange()">
<el-option label="上行咽喉" :value="parseInt('1')"></el-option>
<el-option label="下行咽喉" :value="parseInt('0')"></el-option>
</el-select>
</el-form-item>
效果如图所示