From 1afeec52d5be170797b01281a129add7012880ea Mon Sep 17 00:00:00 2001 From: Han <1655466387@qq.com> Date: Mon, 17 Feb 2025 19:02:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=88=86=E9=A1=B5=E6=A0=87?= =?UTF-8?q?=E9=A2=98=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/[...page].astro | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/[...page].astro b/src/pages/[...page].astro index 3adaaa4..e431efe 100644 --- a/src/pages/[...page].astro +++ b/src/pages/[...page].astro @@ -24,9 +24,10 @@ import Layout from "../layouts/Layout.astro"; import Aside from "../components/Aside.astro"; // 分页组件 import Pagination from "../components/Pagination.astro"; +const currentPage = page_data.url.current.replace("/", ""); --- - +