调整接口

This commit is contained in:
sunjie
2025-10-03 00:01:27 +08:00
parent 25081250a6
commit cc3061dfed
@@ -108,11 +108,14 @@ patch(ListRenderer.prototype, {
const cell = tr.children[i];
if (cell) setStyle(cell, left, 10);
});
console.log('groupHeaders',groupHeaders)
// 冻结分组行
groupHeaders.forEach(tr => {
const cell = tr.children[i];
if (cell) setStyle(cell, left, 4); // 比 body 高,比 header 低
//if (cell) setStyle(cell, left, 4); // 比 body 高,比 header 低
// 分组头部是不是 left= 0 就行. 头部都固定左侧.
if(cell) setStyle(cell, 0, 4);
});
} else {