src/views/zzmx/wllx.vue
@@ -41,6 +41,8 @@ <el-divider /> <div class="elTableDiv"> <el-table ref="tableDataRef" class="tableFixed" :data="tableData" border stripe @@ -325,6 +327,7 @@ this.$nextTick(() => { this.mainHeight = window.innerHeight - 250 this.tableHeight = this.mainHeight - 100 this.$refs.tableDataRef.doLayout() }) } } @@ -483,5 +486,12 @@ ::v-deep .el-select-dropdown__item.selected{ color: $main_color; } .tableFixed{ ::v-deep .el-table__fixed-right{ height: 100% !important; } ::v-deep .el-table__fixed{ height: 100% !important; } } </style>