src/views/wlgl/ckdy.vue
@@ -45,6 +45,8 @@ </div> <div class="elTableDiv"> <el-table ref="tableDataRef" class="tableFixed" :data="tableData" border :height="tableHeight+'px'" @@ -366,6 +368,7 @@ if (window.innerHeight < 769) { this.tableHeight = this.tableHeight - 40 } this.$refs.tableDataRef.doLayout() }) }, tableRowClassName({ row, rowIndex }) { @@ -465,6 +468,15 @@ margin-bottom: 0; } .tableFixed{ ::v-deep .el-table__fixed-right{ height: 100% !important; } ::v-deep .el-table__fixed{ height: 100% !important; } } </style> <style>