当前位置:网站首页>El table dynamic header

El table dynamic header

2020-11-09 10:49:49 ThisCall

 

 

  <el-table
                    class="table-head-transparent"
                    :data="tableData"
                    :height="tableHeight"
                    :header-cell-style="{ 'border-ground': 'tranparent' }"
                  >
                    <el-table-column
                      align="center"
                      prop="orgName"
                      label=" Corporate name "
                    >
                    </el-table-column>
                    <el-table-column
                      v-for="(item, index) in tableHead"
                      :key="index"
                      :label="item.attributeName"
                      :property="item.attribute"
                      align="center"
                    >
                      <template slot-scope="scope">{{
                        scope.row.values[scope.column.property]
                      }}</template>
                    </el-table-column>
                  </el-table>

 

版权声明
本文为[ThisCall]所创,转载请带上原文链接,感谢