Explorar el Código

修复列表操作列滚动后位置异常bug

cfort hace 1 año
padre
commit
dc7e649a11
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  1. 5 0
      src/components/ibps-crud/index.vue

+ 5 - 0
src/components/ibps-crud/index.vue

@@ -540,4 +540,9 @@ export default {
         display: flex;
         flex-wrap: wrap;
     }
+    /* 表单组件渲染时计算表单高度受转换元素影响(附件、人员、部门等) */
+    .elTable .el-table__body-wrapper{
+        height: v-bind(tableHeight);
+        overflow-y: auto;
+    }
 </style>