From 20b4579170fe882d40223d3842f9c0511a89f05c Mon Sep 17 00:00:00 2001 From: Vanessa Date: Fri, 20 Dec 2024 10:56:18 +0800 Subject: [PATCH] =?UTF-8?q?:lipstick:=20=E8=AE=A1=E7=AE=97=E5=90=8E?= =?UTF-8?q?=E5=86=8D=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/history/doc.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/history/doc.ts b/app/src/history/doc.ts index e9442f2de..b571e1996 100644 --- a/app/src/history/doc.ts +++ b/app/src/history/doc.ts @@ -45,6 +45,7 @@ const renderDoc = (element: HTMLElement, currentPage: number, id: string) => { pageNumElement.setAttribute("data-totalpage", response.data.pageCount.toString()); pageNumElement.textContent = currentPage.toString(); const pageInfoElement = nextElement.nextElementSibling.nextElementSibling; + pageInfoElement.classList.remove("fn__none"); pageInfoElement.textContent = window.siyuan.languages.pageCountAndHistoryCount.replace("${x}", response.data.pageCount).replace("${y}", response.data.totalCount); if (response.data.histories.length === 0) { listElement.innerHTML = `
  • ${window.siyuan.languages.emptyContent}
  • `; @@ -76,7 +77,7 @@ export const openDocHistory = (options: { - ${window.siyuan.languages.pageCountAndHistoryCount} + ${window.siyuan.languages.pageCountAndHistoryCount}