第一种方法
不要用el-form包裹住,然后对其手动调整样式,使其和其他元素一致。
第二种方法
拉长el-select的输入框
给el-select加上.my-select样式
<style scoped lang="scss">
::v-deep .el-input__inner {
width: 100%!important;
}
::v-deep .el-input {
width: 100%!important;
}
::v-deep .my-select{
display: block!important;;
width: 100%!important;
}
</style>