mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-09 14:12:34 +01:00
🎨 PNPM Lint
This commit is contained in:
parent
b5a60fc1fa
commit
6f98849e9c
7 changed files with 8 additions and 12 deletions
|
|
@ -874,7 +874,7 @@ export const openMenuPanel = (options: {
|
|||
break;
|
||||
} else if (type === "updateColType") {
|
||||
if (target.dataset.newType !== target.dataset.oldType) {
|
||||
const nameElement = avPanelElement.querySelector('.b3-text-field[data-type="name"]') as HTMLInputElement
|
||||
const nameElement = avPanelElement.querySelector('.b3-text-field[data-type="name"]') as HTMLInputElement;
|
||||
const name = nameElement.value;
|
||||
let newName = name;
|
||||
data.view.columns.find((item: IAVColumn) => {
|
||||
|
|
|
|||
|
|
@ -300,7 +300,7 @@ ${cell.color ? `color:${cell.color};` : ""}">${renderCell(cell.value, rowIndex)}
|
|||
// 需等待渲染完,否则 getBoundingClientRect 错误 https://github.com/siyuan-note/siyuan/issues/13787
|
||||
setTimeout(() => {
|
||||
stickyRow(e, editRect, "top");
|
||||
}, Constants.TIMEOUT_LOAD)
|
||||
}, Constants.TIMEOUT_LOAD);
|
||||
}
|
||||
if (footerTransform) {
|
||||
(e.querySelector(".av__row--footer") as HTMLElement).style.transform = footerTransform;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue