fix:waline留言板和侧边栏最新回复加载错误问题

This commit is contained in:
jiewenhuang 2023-11-06 00:46:53 +08:00
parent 79e5f359c2
commit f666271b0e
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@
serverURL: /*[[${theme.config.basic.waline_serverURL}]]*/'', serverURL: /*[[${theme.config.basic.waline_serverURL}]]*/'',
count: /*[[${theme.config.aside.show_newreply_num}]]*/5, count: /*[[${theme.config.aside.show_newreply_num}]]*/5,
}).then(({ comments }) => { }).then(({ comments }) => {
document.getElementById('waline-recent').innerHTML = comments.map( document.getElementById('waline-recent').innerHTML = comments.data.map(
(comment) =>{ (comment) =>{
const commentContent = document.createElement('div'); const commentContent = document.createElement('div');
let commentText ='' let commentText =''