forked from opentiny/tiny-vue
fix(grid): [gird] fix the abnornal blank block when quantity from 500 to 10 (#1321)
This commit is contained in:
parent
b337171a03
commit
f466d63c23
|
@ -1561,6 +1561,7 @@ const Methods = {
|
||||||
|
|
||||||
// 这里最好使用transform3D,使用gpu加速,防止页面重绘
|
// 这里最好使用transform3D,使用gpu加速,防止页面重绘
|
||||||
if (tableElem) {
|
if (tableElem) {
|
||||||
|
marginTop = marginTop || 0
|
||||||
tableElem.style.transform = `translateY(${marginTop})`
|
tableElem.style.transform = `translateY(${marginTop})`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue