lanjianrong 4 tahun lalu
induk
melakukan
ee2a254317
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      src/components/Table/src/hooks/useTableScroll.ts

+ 1 - 1
src/components/Table/src/hooks/useTableScroll.ts

@@ -147,7 +147,7 @@ export function useTableScroll(
     const tableEl = tableElRef.current
 
     const tableWidth = tableEl && tableEl?.offsetWidth
-    console.log(tableEl, tableWidth - 48, width)
+    console.log(tableWidth - 48, width)
 
     return tableWidth - 48 > width ? '100%' : width
   }, [selectKeysRef, columnsRef, tableElRef?.current])