<el-row :gutter="20"> <el-col :span="8"> <el-input class="searchInput"> <el-button slot="append" class="el-icon-search" type="primary"></el-button> </el-input> </el-col> <el-col :span="10"> <el-button type="primary">添加商品</el-button> </el-col> </el-row>
input没有设置placeholder会导致对不齐 原因不详
添加之后就解决了
相差4px