ZhangXianQiang
2024-03-08 751c33d47a185b80596e9dc37938a43e56bc3ca8
src/views/daoAnOffice/right/danger/dataTable.vue
@@ -170,7 +170,7 @@
  )[0];
  scrollHeight.value = tableNode.value.scrollHeight;
  scrollTop.value = tableNode.value.scrollTop;
  // bindWheel(tableNode.value);
  bindWheel(tableNode.value);
  scrollTimer = setInterval(() => {
    scrollTableOne.value.setScrollTop(scrollTop.value++);
    if (scrollTop.value >= scrollHeight.value - tableNode.value.offsetHeight) {
@@ -181,7 +181,7 @@
};
const bindWheel = (dom) => {
  if(isBind.value) return;
  if (isBind.value) return;
  isBind.value = true;
  dom.addEventListener("mousewheel", () => {
    clearScroll();
@@ -307,6 +307,13 @@
  overflow: hidden;
}
::v-deep .el-table--enable-row-hover .el-table__body tr:hover>td.el-table__cell  {
  background-color: unset;
}
::v-deep .el-scrollbar__bar.is-vertical {
  display: none !important;
}
// .head-table {
//   &:deep(.el-table__body-wrapper) {
//     display: none;
@@ -317,4 +324,5 @@
//   :deep(.el-table__header-wrapper) {
//     display: none;
//   }
// }</style>
// }
</style>