fix error mindoc:runtime error: invalid memory address or nil pointer dereference

This commit is contained in:
gsw945
2022-05-18 11:17:03 +08:00
parent 07204d6d7f
commit 8d92550458
6 changed files with 38 additions and 47 deletions

View File

@@ -60,6 +60,9 @@ function timeFormat($time) {
// 点击翻页
function pageClicked($page, $docid) {
if (!window.IS_DISPLAY_COMMENT) {
return;
}
$("#articleComment").removeClass('not-show-comment');
$.ajax({
url : "/comment/lists?page=" + $page + "&docid=" + $docid,