Vanessa 2025-07-09 10:28:11 +08:00
parent 7938755578
commit 2bbe0933b0
2 changed files with 2 additions and 2 deletions

View file

@ -369,7 +369,7 @@ ${cell.color ? `color:${cell.color};` : ""}">${renderCell(cell.value, rowIndex,
}
}
}
e.querySelector(".layout-tab-bar").scrollLeft = (e.querySelector(".layout-tab-bar .item--focus") as HTMLElement).offsetLeft;
e.querySelector(".layout-tab-bar").scrollLeft = (e.querySelector(".layout-tab-bar .item--focus") as HTMLElement).offsetLeft - 30;
if (cb) {
cb(response.data);
}