Skip to content

Commit 7797601

Browse files
committed
更新评论块逻辑
1 parent d720e33 commit 7797601

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sites/pc0359.cn/components/mip-cyb-comment/mip-cyb-comment.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export default class MIPCybComment extends CustomElement {
5555
}
5656
document.getElementById('plnum').innerText = data.num
5757
if (data.num === 0) {
58-
data.list = '<p class="nodp">还没有发布过评价</p>'
58+
morepl[0].innerHTML = '<p class="nodp">还没有发布过评价</p>'
5959
}
6060
for (let i = 0; i < data.list.length; i++) {
6161
let list = data.list[i]

0 commit comments

Comments
 (0)