lanjianrong 4 년 전
부모
커밋
ee2a254317
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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])