diff --git a/app/templates/userpage_get.html b/app/templates/userpage_get.html
index edb8bf2..b47fb99 100644
--- a/app/templates/userpage_get.html
+++ b/app/templates/userpage_get.html
@@ -232,6 +232,9 @@
update(data['today_article']);
check_pre(data['visited_articles']);
check_next(data['result_of_generate_article']);
+ // 在加载新文章后调用高亮函数
+ toggleHighlighting();
+
}
}
});
@@ -245,6 +248,8 @@
if(data['today_article']){
update(data['today_article']);
check_pre(data['visited_articles']);
+ // 在加载新文章后调用高亮函数
+ toggleHighlighting();
}
}
});