From f666271b0ef7c7201cbc52c6fc7e0748a1534d2b Mon Sep 17 00:00:00 2001 From: jiewenhuang Date: Mon, 6 Nov 2023 00:46:53 +0800 Subject: [PATCH] =?UTF-8?q?fix:waline=E7=95=99=E8=A8=80=E6=9D=BF=E5=92=8C?= =?UTF-8?q?=E4=BE=A7=E8=BE=B9=E6=A0=8F=E6=9C=80=E6=96=B0=E5=9B=9E=E5=A4=8D?= =?UTF-8?q?=E5=8A=A0=E8=BD=BD=E9=94=99=E8=AF=AF=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/modules/widgets/asideWidget.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/modules/widgets/asideWidget.html b/templates/modules/widgets/asideWidget.html index 6ed51af..71dc8e6 100644 --- a/templates/modules/widgets/asideWidget.html +++ b/templates/modules/widgets/asideWidget.html @@ -125,7 +125,7 @@ serverURL: /*[[${theme.config.basic.waline_serverURL}]]*/'', count: /*[[${theme.config.aside.show_newreply_num}]]*/5, }).then(({ comments }) => { - document.getElementById('waline-recent').innerHTML = comments.map( + document.getElementById('waline-recent').innerHTML = comments.data.map( (comment) =>{ const commentContent = document.createElement('div'); let commentText =''