From dd1cbc25ffe3e0fac7f7076a85dbea8fdc76a616 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=87=E6=A2=93=E9=94=9F?= <1640384813@qq.com> Date: Mon, 6 May 2024 11:50:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20app/templates/userpage=5Fg?= =?UTF-8?q?et.html?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复bug561 --- app/templates/userpage_get.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/templates/userpage_get.html b/app/templates/userpage_get.html index 68997ef..6e5d84c 100644 --- a/app/templates/userpage_get.html +++ b/app/templates/userpage_get.html @@ -157,6 +157,8 @@ update(data['today_article']); check_pre(data['visited_articles']); check_next(data['result_of_generate_article']); + // 在加载新文章后调用高亮函数 + toggleHighlighting(); } } }); @@ -170,6 +172,8 @@ if(data['today_article']){ update(data['today_article']); check_pre(data['visited_articles']); + // 在加载新文章后调用高亮函数 + toggleHighlighting(); } } });