Revert "docs: remove unnecessary code (#25738)" (#25740)

This reverts commit 6e8a14d62a.
This commit is contained in:
偏右 2020-07-22 10:43:36 +08:00 committed by GitHub
parent 6e8a14d62a
commit b466db56a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,7 +74,7 @@ function VirtualTable(props) {
}}
height={scroll.y}
rowCount={rawData.length}
rowHeight={54}
rowHeight={() => 54}
width={tableWidth}
onScroll={({ scrollLeft }) => {
onScroll({ scrollLeft });