src/views/wlgl/kwdy.vue
@@ -55,6 +55,8 @@ <div class="elTableDiv"> <el-table ref="tableDataRef" class="tableFixed" :data="tableData" border :row-class-name="tableRowClassName" @@ -381,6 +383,7 @@ if (window.innerHeight < 769) { this.tableHeight = this.tableHeight - 50 } this.$refs.tableDataRef.doLayout() }) }, tableRowClassName({ row, rowIndex }) { @@ -480,6 +483,14 @@ margin-bottom: 0; } .tableFixed{ ::v-deep .el-table__fixed-right{ height: 100% !important; } ::v-deep .el-table__fixed{ height: 100% !important; } } </style> <style>