高度一致

  1. 设置 type="flex"
<el-row type="flex" class="row">
  <el-col span="5">
    <el-card class="custome-card"> </el-card>
  </el-col>
  <el-col span="19">
    <el-card class="custome-card"> </el-card>
  </el-col>
</el-row>
  1. 设置高度 100%
.custome-card {
  height: 100%;
}

自动换行

.row {
  flex-wrap: warp;
}
Last Updated:
Contributors: haizhiguang