diff --git a/app/src/menus/navigation.ts b/app/src/menus/navigation.ts index 7c5792dc8..5eb1904bb 100644 --- a/app/src/menus/navigation.ts +++ b/app/src/menus/navigation.ts @@ -656,7 +656,7 @@ export const genImportMenu = (notebookId: string, pathString: string) => { } files.getLeaf(liElement, notebookId); window.siyuan.menus.menu.remove(); - } + }; /// #if !BROWSER const importstdmd = (label: string, isDoc?: boolean) => { return { diff --git a/app/src/protyle/render/av/row.ts b/app/src/protyle/render/av/row.ts index 24d7ac5ee..473fff19b 100644 --- a/app/src/protyle/render/av/row.ts +++ b/app/src/protyle/render/av/row.ts @@ -80,7 +80,7 @@ const setPage = (blockElement: Element) => { blockElement.setAttribute("data-page-size", currentCount.toString()); } } -} +}; /** * 前端插入一假行 @@ -119,7 +119,7 @@ ${(item.getAttribute("data-block-id") || item.dataset.dtype === "block") ? ' dat // https://github.com/siyuan-note/siyuan/issues/10517 let hideTextCell = false; response.data.filters.find((item: IAVFilter) => { - const headerElement = blockElement.querySelector(`.av__cell--header[data-col-id="${item.column}"]`) + const headerElement = blockElement.querySelector(`.av__cell--header[data-col-id="${item.column}"]`); if (headerElement && ["relation", "rollup", "template", "created", "updated"].includes(headerElement.getAttribute("dtype"))) { hideTextCell = true; return true; diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.ts index f967b28d0..19255c373 100644 --- a/app/src/protyle/wysiwyg/index.ts +++ b/app/src/protyle/wysiwyg/index.ts @@ -2040,7 +2040,7 @@ export class WYSIWYG { // https://github.com/siyuan-note/siyuan/issues/10513 const virtualRefElement = hasClosestByAttribute(event.target, "data-type", "virtual-block-ref"); if (virtualRefElement) { - const blockElement = hasClosestBlock(virtualRefElement) + const blockElement = hasClosestBlock(virtualRefElement); if (blockElement) { fetchPost("/api/block/getBlockDefIDsByRefText", { anchor: virtualRefElement.textContent,