调整接口
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user