From 11b0a26e006ed817a59199513fc77011ef1e9882 Mon Sep 17 00:00:00 2001 From: lingxh Date: Sat, 27 Apr 2024 16:35:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=AC=AC=E4=BA=8C=E9=A1=B5?= =?UTF-8?q?=E6=97=A0=E6=B3=95=E6=AD=A3=E7=A1=AE=E8=BF=94=E5=9B=9E=E4=B8=8A?= =?UTF-8?q?=E4=B8=80=E9=A1=B5=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 造成原因:当上一页为首页时page.prev_link为空,而url_for不接受空字符串 --- layout/index.ejs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/layout/index.ejs b/layout/index.ejs index 641d961..e81561a 100644 --- a/layout/index.ejs +++ b/layout/index.ejs @@ -3,8 +3,7 @@ <% }) %> <% if (page.total > 1){ %>