fix(grid): [gird] fix the abnornal blank block when quantity from 500 to 10 (#1321)

This commit is contained in:
Nick Wu 2024-01-31 14:13:16 +08:00 committed by GitHub
parent b337171a03
commit f466d63c23
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -1561,6 +1561,7 @@ const Methods = {
// 这里最好使用transform3D,使用gpu加速防止页面重绘
if (tableElem) {
marginTop = marginTop || 0
tableElem.style.transform = `translateY(${marginTop})`
}