From 1f5ef43b17a5610ee95aa5b56de391d1a5753045 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BE=A1=E7=BE=A1?= Date: Fri, 30 Jun 2023 15:30:44 +0800 Subject: [PATCH] =?UTF-8?q?Fix:=E4=BF=AE=E5=A4=8D=E6=9C=80=E6=96=B0?= =?UTF-8?q?=E8=AF=84=E8=AE=BA=E5=88=87=E6=8D=A2=E6=97=A0=E6=B3=95=E8=8E=B7?= =?UTF-8?q?=E5=8F=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/modules/widgets/aside/comments.html | 52 ++++++++++--------- 1 file changed, 28 insertions(+), 24 deletions(-) diff --git a/templates/modules/widgets/aside/comments.html b/templates/modules/widgets/aside/comments.html index 81026bc0..c063032a 100644 --- a/templates/modules/widgets/aside/comments.html +++ b/templates/modules/widgets/aside/comments.html @@ -4,23 +4,21 @@
最新评论
- -
-
- - + + }); + let necomm = document.querySelector('#newcomm') + necomm.innerHTML = commenthtml; + window.lazyLoadInstance && window.lazyLoadInstance.update() + window.pjax && window.pjax.refresh(necomm) + }).catch(function (err) { + // 发生错误 + console.error(err); + }); + })(); + + +