滚动条

<!--  <div style="height:90%;overflow-y:scroll">-->
  <div>
    <el-table :data="tableData" style="width: 100%;" row-key="id" border
              :default-expand-all ="false" height="85vh" :header-cell-style="{height: '53px'}"
              :tree-props="{children: 'children', hasChildren: 'hasChildren'}">
      <!--      <el-table-column type="index" align="center">sortable</el-table-column>-->
      <el-table-column prop="dIndex" label="序号" align="center" fixed></el-table-column>
      <el-table-column  prop="XX" align="left" header-align="center"  label="XX"  width="180" fixed></el-table-column>
      <el-table-column  prop="XXX" align="left" header-align="center"  label="XXX"   width="180" fixed></el-table-column>
      <el-table-column v-for="(item,index) in dicData" :key="index"
                       :label="item.label" :prop="item.prop" width="150" align="center" header-align="center">
      </el-table-column>
    </el-table>
    <!--<el-button @click="btnSee">btnSee</el-button>-->
  </div>
posted @ 2024-07-24 09:10  寒冷的雨呢  阅读(5)  评论(0编辑  收藏  举报