fix:waline留言板和侧边栏最新回复加载错误问题
This commit is contained in:
parent
79e5f359c2
commit
f666271b0e
|
@ -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 =''
|
||||||
|
|
Loading…
Reference in New Issue